pkgsrc/emulators/gpsim-devel/patches/patch-gui-gui_watch.cc
2011-12-19 15:58:40 +00:00

21 lines
573 B
C++

$NetBSD: patch-gui-gui_watch.cc,v 1.2 2011/12/19 15:58:40 wiz Exp $
--- gui/gui_watch.cc.orig 2005-08-31 14:46:39.000000000 +0000
+++ gui/gui_watch.cc
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+#include <typeinfo>
#include "../config.h"
#ifdef HAVE_GUI
@@ -478,7 +479,7 @@ void Watch_Window::UpdateWatch(WatchEntr
strcpy(str, "?");
}
else {
- sprintf(str,"%d", rvNewValue);
+ sprintf(str,"%d", new_value);
}
gtk_clist_set_text(GTK_CLIST(watch_clist), row, DECIMALCOL, str);