Unverified Commit 2cc5b64e authored by Dave Shoreman's avatar Dave Shoreman Committed by GitHub

Strip whitespace from cmd to fix #38

parent d0021d0d
......@@ -174,7 +174,7 @@ popup_menu_item_activate_cb (GtkWidget * w, gpointer data)
if (cmd)
{
if (g_ascii_strcasecmp (cmd, "quit") == 0)
if (g_ascii_strcasecmp (g_strstrip (cmd), "quit") == 0)
{
exit_code = YAD_RESPONSE_OK;
gtk_main_quit ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment