aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-08-12 12:26:50 +1000
committerNeil <nyamatongwe@gmail.com>2016-08-12 12:26:50 +1000
commitbf22e97e77124e601f4be76d33ecb81d5f9c4a66 (patch)
treef44b68b7a78c567db8f72ab7d046d9ccca419499
parentab8374a72bf6ea57692938d3e7d73c64e9ae185a (diff)
downloadscintilla-mirror-bf22e97e77124e601f4be76d33ecb81d5f9c4a66.tar.gz
Remove tests that are not needed.
-rw-r--r--src/XPM.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index 20e6c8bfc..4841e4ff2 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -22,13 +22,13 @@ using namespace Scintilla;
static const char *NextField(const char *s) {
// In case there are leading spaces in the string
- while (*s && *s == ' ') {
+ while (*s == ' ') {
s++;
}
while (*s && *s != ' ') {
s++;
}
- while (*s && *s == ' ') {
+ while (*s == ' ') {
s++;
}
return s;