mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-07 17:33:14 -04:00
Change order evaluation to make CPPCheck happy.
Code was not wrong.
This commit is contained in:
parent
fdb9b014f5
commit
604779c444
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ void rofi_theme_convert_old ( void )
|
|||
"* { bordercolor: %s; }",
|
||||
"* { separatorcolor: %s; }"
|
||||
};
|
||||
for ( int i = 0; retv && retv[i] && i < 3; i++ ) {
|
||||
for ( int i = 0; retv && i < 3 && retv[i] ; i++ ) {
|
||||
char *str = g_strdup_printf ( conf[i], rofi_theme_convert_color ( retv[i] ) );
|
||||
rofi_theme_parse_string ( str );
|
||||
g_free ( str );
|
||||
|
|
Loading…
Add table
Reference in a new issue