/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007, 2009, 2011 Free Software Foundation
+ Copyright (C) 2007, 2009, 2011, 2012 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "find-dialog.h"
#include "psppire-selector.h"
#include "psppire-dialog.h"
+#include "builder-wrapper.h"
#include "helper.h"
#include "psppire-data-window.h"
#include "dict-display.h"
const struct string_comparator *ssc =
(const struct string_comparator *) cmptr;
+ int width;
+
const char *text = var_lookup_value_label (cmptr->var, val);
- int width = strlen (text);
+ if (text == NULL)
+ return false;
+
+ width = strlen (text);
assert ( cmptr->flags & STR_CMP_LABELS);