Fix pn? issue

This commit is contained in:
pancake 2014-02-22 03:36:45 +01:00
parent aa555443db
commit 56d73604e2

View File

@ -1161,6 +1161,11 @@ next2:
} else {
str = r_core_cmd_str (core, ptr+1);
}
// ignore contents if first char is pipe or comment
if (*str=='|' || *str=='*') {
free (str);
return ret;
}
if (oneline && str)
for (i=0; str[i]; i++)
if (str[i]=='\n')