summaryrefslogtreecommitdiff
path: root/sysutils/gnomesystemmonitor/files/patch-ad
blob: b94b21823f7768b14bcdd2905316d740aa3d84b3 (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
31
32
--- main.c.orig	Mon May 22 13:25:21 2000
+++ main.c	Sun Aug  6 21:01:42 2000
@@ -33,6 +33,8 @@
 #include <gnome.h>
 #include <libgnomeui/gnome-window-icon.h>
 
+#include <floatingpoint.h>
+
 #include <glibtop/close.h>
 
 #include <locale.h>
@@ -206,6 +208,8 @@
 	poptContext ctx;
 	const char **args;
 
+	fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+
 	setlocale (LC_ALL, "");
 	bindtextdomain (PACKAGE, GNOMELOCALEDIR);
 	textdomain (PACKAGE);
@@ -295,6 +299,11 @@
 			 gtop_properties.global.show_toolbar);
 		gnome_config_sync ();
 	}
+
+#ifndef __alpha__
+	fpresetsticky (FP_X_DZ|FP_X_INV);
+#endif
+	fpsetmask (FP_X_DZ|FP_X_INV);
         
         return 0;
 }