Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393052 Details for
Bug 526570
games-simulation/openttd-1.4.4: version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix compile patch
makecompile.diff (text/plain), 696 bytes, created by
Bernd Buschinski
on 2015-01-03 09:29:22 UTC
(
hide
)
Description:
fix compile patch
Filename:
MIME Type:
Creator:
Bernd Buschinski
Created:
2015-01-03 09:29:22 UTC
Size:
696 bytes
patch
obsolete
>--- src/fontcache.cpp 2015-01-03 10:13:27.648859160 +0100 >+++ src/fontcache.cpp 2015-01-03 10:19:18.582854137 +0100 >@@ -527,8 +527,8 @@ > aa = (slot->bitmap.pixel_mode == FT_PIXEL_MODE_GRAY); > > /* Add 1 pixel for the shadow on the medium font. Our sprite must be at least 1x1 pixel */ >- int width = max(1, slot->bitmap.width + (this->fs == FS_NORMAL)); >- int height = max(1, slot->bitmap.rows + (this->fs == FS_NORMAL)); >+ int width = max(1u, slot->bitmap.width + (this->fs == FS_NORMAL)); >+ int height = max(1u, slot->bitmap.rows + (this->fs == FS_NORMAL)); > > /* Limit glyph size to prevent overflows later on. */ > if (width > 256 || height > 256) usererror("Font glyph is too large");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 526570
:
393052
|
393440
|
393442
|
393444