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:
parent
737890d131
commit
3cfc7f92f6
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user