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"); /option> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/dezyne.scm
AgeCommit message (Expand)Author
2023-06-26gnu: dezyne: Update to 2.17.3....* gnu/packages/patches/dezyne-add-missing-shebangs.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/dezyne.scm (dezyne): Update to 2.17.3. [source]: Remove patch, update hash. Janneke Nieuwenhuizen
2023-04-24gnu: dezyne: Add patch to avoid "Exec format error"....This fixes In execvp of ./test/all/parse_import_order/run: Exec format error on shell scripts that lack a shebang. * gnu/packages/patches/dezyne-add-missing-shebangs.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dezyne.scm (dezyne): Use it. Janneke Nieuwenhuizen
2023-04-24gnu: dezyne: Update to 2.17.2....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.2. Janneke Nieuwenhuizen
2023-01-27gnu: dezyne: Update to 2.17.1....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.1. Jan (janneke) Nieuwenhuizen
2023-01-23gnu: dezyne: Update to 2.17.0....* gnu/packages/dezyne.scm (dezyne): Update to 2.17.0. Jan (janneke) Nieuwenhuizen
2023-01-13gnu: dezyne: Update to 2.16.3....* gnu/packages/dezyne.scm (dezyne): Update to 2.16.3. Jan (janneke) Nieuwenhuizen