* src/SDCCutil.c: corrected double comparison typo
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 30 Oct 2005 20:07:50 +0000 (20:07 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 30 Oct 2005 20:07:50 +0000 (20:07 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3923 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/SDCCutil.c

index 48d39328a3900c02045026b25bf638fc67da100a..535ad0b483b4a479fe546540059fe4c41184e1db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-30 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCutil.c: corrected double comparison typo
+
 2005-10-27 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * device/lib/medium/Makefile: added for new memory model medium
index 134774f3c6ea2cdb84512db1f68e797be708c7a4..a08cd115abe74ce9aea81c81de8c9e013cd6d361 100644 (file)
@@ -138,7 +138,7 @@ getBinPath(const char *prel)
     return path;
   }
   /* not enough info in prel; do it with module name */
-  else if (0 != GetModuleFileName(NULL, path, sizeof path) != 0 &&
+  else if (0 != GetModuleFileName(NULL, path, sizeof path) &&
     NULL != (p = strrchr(path, DIR_SEPARATOR_CHAR))) {
     *p = '\0';
     return path;