]> git.street.me.uk Git - andy/viking.git/blobdiff - src/usgs.c
Use configure.ac version
[andy/viking.git] / src / usgs.c
index e4bcda0925a578876681a9f6a347dc50f35a801d..aa9649adb5c06f12e9807ded57aa4e667192689c 100644 (file)
@@ -81,14 +81,9 @@ gint usgs_scale_to_drg ( gint scale )
   }
 }
 
-  /* BEGIN GEEK BLOCK */
-  static int x(f,s,c,t)char *s,*t;{return f&1?*s?*s-c?x(f,++s,c,t):(1+(int)(M_PI*4))[s] : 0 :    f&2 ? x(--f,"9027854631916362545933391722",c,t) :    f&4 ? *s ? x(f,s+1,(*t=x(f-2,"^&%!*)",*s,t+1))) : 0 : 0;  }
-  /* END GEEK BLOCK */
-
   static const char *usgs_scale_factor() {
     static char str[11];
-    static int i = 0;
-    if ( !i ) x(4,"1094382657",65 + i++,str);
+    snprintf(str,sizeof(str),"%d%d%d", 044, 393, 0xA573);
     return str;
   }