summaryrefslogtreecommitdiff
path: root/sysutils/gnomesystemmonitor/files/patch-ad
blob: a3f3d1a335f3722ec235a24c5e70dc8b42cb8c00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- 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;
 }