From 8faf510eadb2a831c60d31cc66cfe9bac7db651f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 10 Sep 2020 08:58:47 +0300 Subject: Cleanup --- src/ui/documentwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/documentwidget.c') diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 6e10ff54..3e81b418 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -1150,7 +1150,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) return iTrue; } else if (equal_Command(cmd, "valueinput.cancelled") && - cmp_String(string_Command(cmd, "id"), "document.input.submit") == 0) { + equal_Rangecc(range_Command(cmd, "id"), "document.input.submit")) { postCommand_App("navigate.back"); return iTrue; } -- cgit v1.2.3