Parent Directory | Revision Log | Patch
revision 619 by astrand, Wed Mar 3 10:41:53 2004 UTC | revision 620 by astrand, Wed Mar 3 10:46:35 2004 UTC | |
---|---|---|
# | Line 1922 ui_draw_text(uint8 font, uint8 flags, in | Line 1922 ui_draw_text(uint8 font, uint8 flags, in |
1922 | ||
1923 | SET_FOREGROUND(bgcolour); | SET_FOREGROUND(bgcolour); |
1924 | ||
1925 | /* Sometimes, the boxcx value is something really large, like | |
1926 | 32691. This makes XCopyArea fail with Xvnc. The code below | |
1927 | is a quick fix. */ | |
1928 | if (boxx + boxcx > g_width) | |
1929 | boxcx = g_width - boxx; | |
1930 | ||
1931 | if (boxcx > 1) | if (boxcx > 1) |
1932 | { | { |
1933 | FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy); | FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |