Skip to content

Commit

Permalink
Fixed the the color erroneously introduced in r2460.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lego3 committed Sep 2, 2013
1 parent 5e00367 commit 1258b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CorsixTH/Lua/dialogs/information.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ end

function UIInformation:draw(canvas, x, y)
local dx, dy = x + self.x, y + self.y
local background = self.black_background and canvas:mapRGB(0, 0, 0) or canvas:mapRGB(0, 255, 255)
local background = self.black_background and canvas:mapRGB(0, 0, 0) or canvas:mapRGB(255, 255, 255)
canvas:drawRect(background, dx + 4, dy + 4, self.width - 8, self.height - 8)
local last_y = dy + self.spacing.t
for i, text in ipairs(self.text) do
Expand Down

0 comments on commit 1258b8b

Please sign in to comment.