~sircmpwn/gmni

b31e6551cf8a448013f0cef49a503cf2516d5092 — Ondřej Fiala 9 days ago 0603755 master
fix null dereference
1 files changed, 1 insertions(+), 1 deletions(-)

M src/gmnlm.c
M src/gmnlm.c => src/gmnlm.c +1 -1
@@ 614,7 614,7 @@ do_prompts(const char *prompt, struct browser *browser)
	case 'm':
		if (in[1] != '\0' && !isspace(in[1])) break;
		char *title = in[1] ? &in[1] : browser->page_title;
		save_bookmark(browser, trim_ws(title));
		save_bookmark(browser, title ? trim_ws(title) : title);
		result = PROMPT_AGAIN;
		goto exit;
	case 'M':