#!/bin/sh /usr/share/dpatch/dpatch-run ## progress-bar-tab patch - by Thomas Günther ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes progress bar tabs with negative right position (Enigma skin). @DPATCH@ --- text2skin/render.c 21 Jan 2005 18:28:04 -0000 1.26 +++ text2skin/render.c 23 Jan 2005 01:51:00 -0000 @@ -255,7 +255,7 @@ nexttab = GetTab(n); } - if (t >= 0 && nexttab > 0 && nexttab < obj.mPos2.x) + if (t >= 0 && nexttab > 0 && nexttab < obj.mPos1.x + obj.Size().w - 1) // there is a "next tab" with text obj.mPos2.x = Object->mPos1.x + o->mPos1.x + nexttab; else {