1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

core: fix style

This commit is contained in:
Sébastien Helleu
2023-12-14 23:11:35 +01:00
parent ffa933bcf8
commit fa0b320178
16 changed files with 54 additions and 49 deletions
+4 -4
View File
@@ -366,16 +366,16 @@ weechat_perl_exec (struct t_plugin_script *script,
{
case 's': /* string or null */
if (argv[i])
XPUSHs (sv_2mortal(newSVpv((char *)argv[i], 0)));
XPUSHs (sv_2mortal (newSVpv((char *)argv[i], 0)));
else
XPUSHs (sv_2mortal(&PL_sv_undef));
XPUSHs (sv_2mortal (&PL_sv_undef));
break;
case 'i': /* integer */
XPUSHs (sv_2mortal(newSViv(*((int *)argv[i]))));
XPUSHs (sv_2mortal (newSViv (*((int *)argv[i]))));
break;
case 'h': /* hash */
hash = weechat_perl_hashtable_to_hash (argv[i]);
XPUSHs (sv_2mortal(newRV_inc((SV *)hash)));
XPUSHs (sv_2mortal (newRV_inc ((SV *)hash)));
break;
}
}