Code:
case PARSE_TOGGLE:
+ if (!*d->str) {
+ write_to_output(d, "No string.\r\n");
+ break;
+ }
if (strchr(*d->str, '@')) {
parse_at(*d->str);
write_to_output(d, "Toggling (at) into (tab) Characters...\r\n");
} else {
parse_tab(*d->str);
write_to_output(d, "Toggling (tab) into (at) Characters...\r\n");
}
break;