summaryrefslogtreecommitdiff
path: root/emulators/x48/patches/patch-ad
blob: 5e2431dd25f3ee7a3376ce2c2c385bb0f5b4f98f (plain)
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
33
34
35
36
37
38
39
40
41
42
43
$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $

--- src/main.c.orig	Sun Feb  4 18:32:37 2001
+++ src/main.c
@@ -70,6 +70,7 @@
 #include "x48_x11.h"
 #include "hp48.h"
 #include "debugger.h"
+#include "resources.h"
 
 char  *progname;
 char  *res_name;
@@ -169,7 +170,15 @@
   /*
    *  Open up the display
    */
-  fprintf(stderr, "testing1\n");
+#ifdef noyet
+  /*
+   * XXX options are not parsed yet so quiet is still 0. The
+   * parsing of options is done by the X11 specific code in
+   * InitDisplay.
+   */
+  if (!quiet)
+    fprintf(stderr, "testing: InitDisplay\n");
+#endif
   if (InitDisplay(argc, argv) < 0) {
     exit (1);
   }
@@ -177,9 +186,11 @@
   /*
    * initialize emulator stuff
    */
-  fprintf(stderr, "testing1\n");
+  if (!quiet)
+    fprintf(stderr, "testing: init_emulator\n");
   init_emulator();
-  fprintf(stderr, "testing2\n");
+  if (!quiet)
+    fprintf(stderr, "testing: init_emulator done\n");
 
   
   /*