From bf22e97e77124e601f4be76d33ecb81d5f9c4a66 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 12 Aug 2016 12:26:50 +1000 Subject: Remove tests that are not needed. --- src/XPM.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3