1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Declare str in PREINIT section.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4400 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-12-10 15:53:19 +00:00 committed by exg
parent 737890d131
commit 3cfc7f92f6

View File

@ -72,9 +72,9 @@ PROTOTYPES: ENABLE
SV *
settings_get_str(key)
char *key
CODE:
PREINIT:
const char *str;
CODE:
str = settings_get_str(key);
RETVAL = new_pv(str);
if (is_utf8())