mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue