[ros-diffs] [mf] 18282: comment, const corrections

mf at svn.reactos.com mf at svn.reactos.com
Wed Oct 5 21:53:01 CEST 2005


comment, const corrections
Modified: trunk/reactos/subsys/system/explorer/shell/filechild.cpp
  _____  

Modified: trunk/reactos/subsys/system/explorer/shell/filechild.cpp
--- trunk/reactos/subsys/system/explorer/shell/filechild.cpp
2005-10-05 19:51:08 UTC (rev 18281)
+++ trunk/reactos/subsys/system/explorer/shell/filechild.cpp
2005-10-05 19:52:39 UTC (rev 18282)
@@ -134,7 +134,7 @@

 	_right = NULL;
 
 	switch(info._etype) {
-	  case ET_SHELL: {	//@@ separate into FileChildWindow in
ShellChildWindow, WinChildWindow, UnixChildWindow ?
+	  case ET_SHELL: {	//@@ separate FileChildWindow into
ShellChildWindow, WinChildWindow, UnixChildWindow ?
 		_root._drive_type = DRIVE_UNKNOWN;
 		_root._sort_order = SORT_NAME;
 
@@ -199,7 +199,7 @@
 		lstrcpy(_root._volname, TEXT("FAT XXX"));	//@@
 		lstrcpy(_root._fs, TEXT("FAT"));
 		lstrcpy(_root._path, drv);
-		FATDrive* drive = new
FATDrive(TEXT("c:/reactos-bochs/cdrv.img"));	//TEXT("\\\\.\\F:"));
//@@
+		FATDrive* drive = new
FATDrive(TEXT("c:/reactos-emu/c.img"));	//TEXT("\\\\.\\F:"));	//@@
 
 		if (drive->_hDrive != INVALID_HANDLE_VALUE) {
 			_root._entry = drive;
@@ -497,7 +497,7 @@
 		case WM_CONTEXTMENU: {
 			 // first select the current item in the listbox
 			HWND hpanel = (HWND) wparam;
-			POINTS& pos = MAKEPOINTS(lparam);
+			const POINTS& pos = MAKEPOINTS(lparam);
 			POINT pt; POINTSTOPOINT(pt, pos);
 			POINT pt_screen = pt;
 			ScreenToClient(hpanel, &pt);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051005/91ce545a/attachment.html


More information about the Ros-diffs mailing list