aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/emacs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 08779405acb..949ea741e1d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12015-01-29 Hans Wennborg <hwennborg@google.com> (tiny change)
2
3 * emacs.c (decode_env_path): Add parentheses around ternary
4 operator to increase readability and pacify compiler warnings.
5
12015-01-29 Eli Zaretskii <eliz@gnu.org> 62015-01-29 Eli Zaretskii <eliz@gnu.org>
2 7
3 * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not 8 * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not
diff --git a/src/emacs.c b/src/emacs.c
index 0b7adbd0967..9b78a70428e 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2300,7 +2300,7 @@ decode_env_path (const char *evarname, const char *defalt, bool empty)
2300 p = strchr (path, SEPCHAR); 2300 p = strchr (path, SEPCHAR);
2301 if (!p) 2301 if (!p)
2302 p = path + strlen (path); 2302 p = path + strlen (path);
2303 element = (p - path ? make_unibyte_string (path, p - path) 2303 element = ((p - path) ? make_unibyte_string (path, p - path)
2304 : empty_element); 2304 : empty_element);
2305 if (! NILP (element)) 2305 if (! NILP (element))
2306 { 2306 {