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"); ion> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/agda.scm
AgeCommit message (Expand)Author
2023-11-14gnu: agda-1lab: Update to 549fdb1c948a975e90e70f871993a4a4239aa280....* gnu/packages/agda.scm (agda-1lab): Update to 549fdb1c948a975e90e70f871993a4a4239aa280. Change-Id: Iad77350fea5a6378e836cbd18c1f4a51bd5a5f0e Josselin Poiret
2023-11-14gnu: agda-cubical: Update to 0.6....* gnu/packages/agda.scm (agda-cubical): Update to 0.6. Change-Id: I1d6edc44755260e505985fb974c632ec6fff2b49 Josselin Poiret
2023-11-14gnu: agda-categories: Adapt to agda-stdlib 1.7.3....* gnu/packages/patches/agda-categories-use-stdlib-1.7.3.patch: New patch. * gnu/packages/agda.scm (agda-categories)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I25f16d55f14465a1dae882fd8ec47a95f8598e5c Josselin Poiret
2023-11-14gnu: agda-stdlib: Update to 1.7.3....* gnu/packages/agda.scm (agda-stdlib): Update to 1.7.3. Change-Id: Ic941073814a6a2150d470fc05218dc8d19954445 Josselin Poiret
2023-11-14gnu: agda: Update to 2.6.4....* gnu/packages/agda.scm (agda): Update to 2.6.4. Also build with optimizations and cluster counting support. * gnu/packages/patches/agda-use-sphinx-5.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I98a66678ec401b9201d9fd3a0f606fff9767b4bc Josselin Poiret
2023-10-11gnu: agda-cubical: Add source file-name....* gnu/packages/agda.scm (agda-cubical)[source]: Add file-name field. Efraim Flashner