[ros-diffs] [greatlrd] 15150: Reomve string STRING_CMD_INVALIDDRIVE in En.rc it was doublcate of STRING_FREE_ERROR1

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Sun May 8 22:15:56 CEST 2005


Reomve string STRING_CMD_INVALIDDRIVE in En.rc  it was doublcate of
STRING_FREE_ERROR1
thanks Usurp for finding it
Modified: trunk/reactos/subsys/system/cmd/En.rc
Modified: trunk/reactos/subsys/system/cmd/cmd.c
Modified: trunk/reactos/subsys/system/cmd/resource.h
Modified: trunk/reactos/subsys/system/cmd/start.c
  _____  

Modified: trunk/reactos/subsys/system/cmd/En.rc
--- trunk/reactos/subsys/system/cmd/En.rc	2005-05-08 19:22:28 UTC
(rev 15149)
+++ trunk/reactos/subsys/system/cmd/En.rc	2005-05-08 20:15:54 UTC
(rev 15150)
@@ -561,8 +561,6 @@

 
 STRING_PATH_ERROR,                 "CMD: Not in environment '%s'\n"
 
-
-STRING_CMD_INVALIDDRIVE,           "ERROR: invalid drive"
 STRING_CMD_SHELLINFO,              "\nReactOS Command Line Interpreter"
 STRING_VERSION_RUNVER,             " running on %s"
 STRING_COPY_FILE ,                 "        %d file(s) copied\n"
  _____  

Modified: trunk/reactos/subsys/system/cmd/cmd.c
--- trunk/reactos/subsys/system/cmd/cmd.c	2005-05-08 19:22:28 UTC
(rev 15149)
+++ trunk/reactos/subsys/system/cmd/cmd.c	2005-05-08 20:15:54 UTC
(rev 15150)
@@ -333,7 +333,7 @@

 			working = SetCurrentDirectory(str);
 		}
 
-		if (!working) ConErrResPuts (STRING_CMD_INVALIDDRIVE);
+		if (!working) ConErrResPuts (STRING_FREE_ERROR1);
 
 		return;
 	}
  _____  

Modified: trunk/reactos/subsys/system/cmd/resource.h
--- trunk/reactos/subsys/system/cmd/resource.h	2005-05-08 19:22:28 UTC
(rev 15149)
+++ trunk/reactos/subsys/system/cmd/resource.h	2005-05-08 20:15:54 UTC
(rev 15150)
@@ -84,7 +84,7 @@

 #define STRING_CMD_HELP6                   613
 #define STRING_CMD_HELP7                   614
 #define STRING_CMD_HELP8                   615 
-#define STRING_CMD_INVALIDDRIVE            617
+
 #define STRING_CMD_SHELLINFO               624
 
 #define STRING_COLOR_HELP1                 625
  _____  

Modified: trunk/reactos/subsys/system/cmd/start.c
--- trunk/reactos/subsys/system/cmd/start.c	2005-05-08 19:22:28 UTC
(rev 15149)
+++ trunk/reactos/subsys/system/cmd/start.c	2005-05-08 20:15:54 UTC
(rev 15150)
@@ -39,7 +39,7 @@

 		SetCurrentDirectory (szPath);
 		GetCurrentDirectory (MAX_PATH, szPath);
 		if (szPath[0] != (TCHAR)_totupper (*first))
-			ConErrResPuts (STRING_CMD_INVALIDDRIVE);
+			ConErrResPuts (STRING_FREE_ERROR1);
 
 		return 0;
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050508/646e3797/attachment.html


More information about the Ros-diffs mailing list