From 8f79d200a0c20c1840f8f8fa9862c4f84ce72135 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 28 Oct 2010 21:47:01 +0000 Subject: Fixed the remaining warnings git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/code.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/code.cxx') diff --git a/fluid/code.cxx b/fluid/code.cxx index 24cea697b..fab97d428 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -47,7 +47,7 @@ extern const char* i18n_set; // return true if c can be in a C identifier. I needed this so // it is not messed up by locale settings: int is_id(char c) { - return c>='a' && c<='z' || c>='A' && c<='Z' || c>='0' && c<='9' || c=='_'; + return (c>='a' && c<='z') || (c>='A' && c<='Z') || (c>='0' && c<='9') || c=='_'; } //////////////////////////////////////////////////////////////// @@ -215,7 +215,7 @@ void write_cstring(const char *w, int length) { // consume them as part of the quoted sequence. Use string constant // pasting to avoid this: c = *w; - if (w < e && (c>='0'&&c<='9' || c>='a'&&c<='f' || c>='A'&&c<='F')) { + if (w < e && ( (c>='0'&&c<='9') || (c>='a'&&c<='f') || (c>='A'&&c<='F') )) { putc('\"', code_file); linelength++; if (linelength >= 79) {fputs("\n",code_file); linelength = 0;} putc('\"', code_file); linelength++; -- cgit v1.2.3