Minor error string correction.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 28 Jul 2002 18:01:45 +0000
changeset 423 524e087944b4
parent 422 c63974ee6bc7
child 424 a691527e9f6e
Minor error string correction.
platform/os2.c
--- a/platform/os2.c	Sun Jul 28 17:59:38 2002 +0000
+++ b/platform/os2.c	Sun Jul 28 18:01:45 2002 +0000
@@ -516,7 +516,7 @@
     ULONG count = 1;
     APIRET rc;
 
-    BAIL_IF_MACRO(strlen(dirname) > sizeof (spec) - 5, ERR_OS_ERROR, NULL);
+    BAIL_IF_MACRO(strlen(dirname) > sizeof (spec) - 5, ERR_BAD_FILENAME, NULL);
     strcpy(spec, dirname);
     strcat(spec, (spec[strlen(spec) - 1] != '\\') ? "\\*.*" : "*.*");