Be more careful about consecuitve spaces in styles
This commit is contained in:
parent
5b37de2075
commit
613e78a951
1 changed files with 2 additions and 1 deletions
|
@ -1135,7 +1135,8 @@ addons_get_element_content (gchar* file_path,
|
|||
}
|
||||
|
||||
/* Skip consecutive spaces */
|
||||
if (file_content[i] == ' ' && file_content[i - 1] == ' ')
|
||||
if (file_content[i] == ' '
|
||||
&& i > 0 && file_content[i - 1] == ' ')
|
||||
continue;
|
||||
|
||||
/* Append actual data to string */
|
||||
|
|
Loading…
Reference in a new issue