Index: sdlpango-0.1.2/src/SDL_Pango.c =================================================================== --- sdlpango-0.1.2.orig/src/SDL_Pango.c 2007-10-08 19:44:15.000000000 +0000 +++ sdlpango-0.1.2/src/SDL_Pango.c 2007-10-08 19:45:27.000000000 +0000 @@ -725,16 +725,23 @@ int x = rect->x; int y = rect->y; + if(x < 0) { + width += x; x = 0; + } if(x + width > surface->w) { width = surface->w - x; - if(width <= 0) - return; + } + if(width <= 0) + return; + + if(y < 0) { + height += y; y = 0; } if(y + height > surface->h) { height = surface->h - y; - if(height <= 0) - return; } + if(height <= 0) + return; if(SDL_LockSurface(surface)) { SDL_SetError("surface lock failed"); >koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patchutils.scm
AgeCommit message (Expand)Author
2021-09-14gnu: meld: Copy GTKSourceView styles....This fixes a somewhat cryptic error, that pops up when gtksourceview-3 has not been installed or propagated by any other package. * gnu/packages/patchutils.scm (meld)[#:phases]: Add ‘copy-styles’. Liliana Marie Prikler
2021-09-05gnu: meld: Update to 3.20.4....* gnu/packages/patchutils.scm (meld): Update to 3.20.4. Tobias Geerinckx-Rice
2021-03-04gnu: meld: Update to 3.20.3....* gnu/packages/patchutils.scm (meld): Update to 3.20.3. Tobias Geerinckx-Rice
2021-02-24gnu: patchwork: Update to 3.0.1....* gnu/packages/patchutils.scm (patchwork): Update to 3.0.1. Christopher Baines