Commit 50caf838 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Simplify a while loop for skipping whitespace.

parent 50fee455
......@@ -506,7 +506,7 @@ static enum reg_versions parse_file_header(const WCHAR *s)
'R','e','g','i','s','t','r','y',' ','E','d','i','t','o','r',' ',
'V','e','r','s','i','o','n',' ','5','.','0','0',0};
while (*s && (*s == ' ' || *s == '\t')) s++;
while (*s == ' ' || *s == '\t') s++;
if (!strcmpW(s, header_31))
return REG_VERSION_31;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment