Debian Codegraph @

debian/patches/avoid-refresh-uninited-701927

raw
1 Index: lincity-1.13.1/geometry.c
2 ===================================================================
3 --- lincity-1.13.1.orig/geometry.c 2004-07-03 09:08:01.000000000 +0300
4 +++ lincity-1.13.1/geometry.c 2013-03-02 11:20:47.767271629 +0200
5 @@ -360,7 +360,10 @@
6
7 /* Complete refresh of the screen required here */
8 #if !defined (SVGALIB)
9 - screen_full_refresh ();
10 + /* Prevent refresh if no init done yet (happens if the WM
11 + * disregards hints and resizes the splash screen). */
12 + if (monthgraph_nojobs)
13 + screen_full_refresh ();
14 #endif
15 }
16