mirror of
https://github.com/irssi/irssi.git
synced 2026-08-14 22:22:15 +02:00
Fix some ANSI C issues.
This commit is contained in:
parent
cf98260ede
commit
47e792da05
6 changed files with 15 additions and 9 deletions
|
|
@ -365,9 +365,9 @@ char *theme_format_expand_get(THEME_REC *theme, const char **format)
|
|||
GString *str;
|
||||
char *ret;
|
||||
theme_rm_col dummy, reset;
|
||||
int braces = 1; /* we start with one brace opened */
|
||||
dummy.m[0] = '\0';
|
||||
strcpy(reset.m, "n");
|
||||
int braces = 1; /* we start with one brace opened */
|
||||
|
||||
str = g_string_new(NULL);
|
||||
while (**format != '\0' && braces != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue