$NetBSD: patch-ab,v 1.1 2004/03/14 16:11:33 wiz Exp $

--- gucharmap/gucharmap-window.c.orig	Tue Nov 18 17:30:12 2003
+++ gucharmap/gucharmap-window.c
@@ -113,8 +113,8 @@ do_search (GucharmapWindow *guw, 
 {
   const gchar *no_leading_space, *nptr;
   char *endptr;
-  g_assert (direction == -1 || direction == 1);
   gunichar wc;
+  g_assert (direction == -1 || direction == 1);
 
   if (search_text[0] == '\0')
     {
