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

Fix Irssi::settings_get_str to return Nullsv when settings_get_str returns NULL.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4351 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-15 18:22:18 +00:00 committed by exg
parent 9c835d33b5
commit 07be2f048d

View File

@ -74,7 +74,7 @@ settings_get_str(key)
CODE: CODE:
const char *str; const char *str;
RETVAL = NULL; RETVAL = Nullsv;
str = settings_get_str(key); str = settings_get_str(key);
if (str != NULL) { if (str != NULL) {
RETVAL = newSVpv(str, 0); RETVAL = newSVpv(str, 0);