The HAPPY NEW YEAR commit
[monky] / src / entropy.c
index 8cf2bc2..732cfb7 100644 (file)
@@ -10,7 +10,7 @@
  * Please see COPYING for details
  *
  * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
- * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
  *     (see AUTHORS)
  * All rights reserved.
  *
@@ -82,10 +82,5 @@ void print_entropy_bar(struct text_object *obj, char *p, int p_max_size)
 
        ratio = (double) entropy.avail /
                (double) entropy.poolsize;
-#ifdef X11
-       if(output_methods & TO_X) {
-               new_bar(obj, p, (int) (ratio * 255.0f));
-       } else
-#endif /* X11 */
-               new_bar_in_shell(obj, p, p_max_size, (int) (ratio * 100.0f));
+       new_bar(obj, p, p_max_size, (int) (ratio * 255.0f));
 }