]> git.sur5r.net Git - cc65/blobdiff - samples/nachtm.c
Added an additional precondition before replacing code in OptPushPop. Fixed a
[cc65] / samples / nachtm.c
index 8c4d6ea0c228b4b78096005a80f7d42df9e085e1..6c78ebcb2c9a5c3feebc6e98e1953126a20b8489 100644 (file)
@@ -985,26 +985,21 @@ static void MakeNiceScreen (void)
     cputcxy (0, 0, CH_ULCORNER);
     chline (XSize - 2);
     cputc (CH_URCORNER);
-    cgetc ();
 
     /* Left line */
     cvlinexy (0, 1, 23);
-    cgetc ();
 
     /* Bottom line */
     cputc (CH_LLCORNER);
     chline (XSize - 2);
     cputc (CH_LRCORNER);
-    cgetc ();
 
     /* Right line */
     cvlinexy (XSize - 1, 1, 23);
-    cgetc ();
 
     /* Several divider lines */
     MakeTeeLine (7);
     MakeTeeLine (22);
-    cgetc ();
 
     /* Write something into the frame */
     for (I = 0, T = Text; I < sizeof (Text) / sizeof (Text [0]); ++I) {
@@ -1062,7 +1057,7 @@ int main (void)
     unsigned char       Octave;
     unsigned           Val;
     struct __sid_voice*        Voice;
-    VoiceCtrl*         VC;
+    register VoiceCtrl*        VC;
 
     /* Initialize the debugger */
     DbgInit (0);