tmore itrans changes - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 23fdde49f133a4c443fd8d04c710496826f1f54a
parent 9c81b470c7469d0fff504fcdb247eb35e08f0066
Author: rsc 
Date:   Tue, 28 Feb 2006 19:48:49 +0000

more itrans changes

Diffstat:
  M src/libdraw/x11-itrans.c            |      13 +------------

1 file changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/src/libdraw/x11-itrans.c b/src/libdraw/x11-itrans.c
t@@ -669,12 +669,7 @@ void
 putsnarf(char *data)
 {
 #ifdef APPLESNARF
-        if(useapplesnarf == -1)
-                useapplesnarf = checkapplesnarf();
-        if(useapplesnarf){
-                appleputsnarf(data);
-                return;
-        }
+        appleputsnarf(data);
 #endif
         _xputsnarf(_x.snarfcon, data);
 }
t@@ -682,12 +677,6 @@ putsnarf(char *data)
 char*
 getsnarf(void)
 {
-#ifdef APPLESNARF
-        if(useapplesnarf == -1)
-                useapplesnarf = checkapplesnarf();
-        if(useapplesnarf)
-                return applegetsnarf();
-#endif
         return _xgetsnarf(_x.snarfcon);
 }