diff options
-rw-r--r-- | Build/source/texk/kpathsea/win32/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/fmtutil.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/win32/ChangeLog b/Build/source/texk/kpathsea/win32/ChangeLog index e781ed39260..e9395b5bce9 100644 --- a/Build/source/texk/kpathsea/win32/ChangeLog +++ b/Build/source/texk/kpathsea/win32/ChangeLog @@ -1,3 +1,7 @@ +2011-08-29 Peter Breitenlohner <peb@mppmu.mpg.de> + + * fmtutil.c: Add parens around assignment used as truth value. + 2011-08-11 Peter Breitenlohner <peb@mppmu.mpg.de> * fmtutil.c: Return zero or one (Errorcnt could be 256). diff --git a/Build/source/texk/kpathsea/win32/fmtutil.c b/Build/source/texk/kpathsea/win32/fmtutil.c index f713a2ea18e..495abf11f5c 100644 --- a/Build/source/texk/kpathsea/win32/fmtutil.c +++ b/Build/source/texk/kpathsea/win32/fmtutil.c @@ -401,7 +401,7 @@ flag = 1 : --all kpse_set_program_name(av[0], NULL); strcpy(Programname, kpse_invocation_short_name); - if (tmp = strrchr(Programname, '.')) { + if ((tmp = strrchr(Programname, '.'))) { if (strcasecmp (tmp, ".exe") == 0) *tmp = '\0'; } |