From 057e435b2840a1d6d2d8b2cd65021eb2f343fe38 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 17 Oct 2014 10:06:08 +0100 Subject: s/error/err/ --- riscos/window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos') diff --git a/riscos/window.c b/riscos/window.c index 58f4f3888..9d3113130 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3685,15 +3685,15 @@ void ro_gui_window_toolbar_click(void *data, case TOOLBAR_BUTTON_UP: err = browser_window_navigate_up(g->bw, false); - if (error != NSERROR_OK) { - warn_user(messages_get_errorcode(error), NULL); + if (err != NSERROR_OK) { + warn_user(messages_get_errorcode(err), NULL); } break; case TOOLBAR_BUTTON_UP_NEW: err = browser_window_navigate_up(g->bw, true); - if (error != NSERROR_OK) { - warn_user(messages_get_errorcode(error), NULL); + if (err != NSERROR_OK) { + warn_user(messages_get_errorcode(err), NULL); } break; -- cgit v1.2.3