chiark / gitweb /
Pass background colour as a parameter to draw_gts and draw_adjs, so
authorSimon Tatham <anakin@pobox.com>
Sun, 22 May 2011 07:07:47 +0000 (07:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 22 May 2011 07:07:47 +0000 (07:07 +0000)
commit8dcdb33b77ebbe56d0ad385285d21344df5ac5f9
tree36aab6655df1396e5e9793c334b15b31805c0df6
parent004ef734801aa3b0bb3e1a73aad0e59ac12d9514
Pass background colour as a parameter to draw_gts and draw_adjs, so
that we can pass -1 in calls from game_print(). Fixes a printing bug
in which all the adjs and gts were overlaid with giant black
rectangles! (Because COL_BACKGROUND doesn't mean the same thing in
that context.)

[originally from svn r9175]
unequal.c