Advertisement
Guest User

nsudoku-zipit.patch

a guest
Aug 22nd, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.60 KB | None | 0 0
  1. --- nsudoku.c.orig
  2. +++ nsudoku.c
  3. @@ -138,6 +138,10 @@
  4.     initscr();
  5.     getmaxyx(stdscr, maxy, maxx);
  6.     startx = (maxx-38)/2;
  7. +#if 1 /* ZIPIT_Z2 */
  8. +        // leave room for the help window.
  9. +   if (startx < 16) startx = maxx - 38; //startx = 16;
  10. +#endif
  11.     starty = 2;
  12.     noecho();
  13.     if(color == 1) start_color();
  14. @@ -236,6 +240,10 @@
  15.             erase();
  16.             getmaxyx(stdscr, maxy, maxx);
  17.             startx = (maxx-38)/2;
  18. +#if 1 /* ZIPIT_Z2 */
  19. +           // leave room for the help window.
  20. +           if (startx < 16) startx = maxx - 38; //startx = 16;
  21. +#endif
  22.             starty = 2;
  23.             noecho();
  24.             if(color == 1) start_color()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement