Small pf fix

This commit is contained in:
Skia 2015-03-03 01:40:54 +01:00 committed by pancake
parent 0e659f03dd
commit 89d724889d

View File

@ -315,7 +315,7 @@ static void cmd_print_format (RCore *core, const char *_input, int len) {
return;
}
if (r_strht_get (core->print->formats, name) == NULL)
if (strchr (name, '.') == NULL && r_strht_get (core->print->formats, name) == NULL)
eprintf ("Warning: %s is not a valid format name\n", name);
/* display a format */
if (dot) {