1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/sysutils/gnomesystemmonitor/files/patch-ad
2000-02-18 02:15:24 +00:00

31 lines
601 B
Plaintext

--- main.c.orig Sun Feb 13 16:27:56 2000
+++ main.c Thu Feb 17 12:07:45 2000
@@ -32,6 +32,8 @@
#include <gnome.h>
+#include <floatingpoint.h>
+
#include <glibtop/close.h>
#include <locale.h>
@@ -205,6 +207,8 @@
poptContext ctx;
const char **args;
+ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
@@ -294,6 +298,9 @@
gtop_properties.global.show_toolbar);
gnome_config_sync ();
}
+
+ fpresetsticky (FP_X_DZ|FP_X_INV);
+ fpsetmask (FP_X_DZ|FP_X_INV);
return 0;
}