aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;