[Pkg-e-commits] [SCM] Enlightenment DR17 graphical layout and animation library branch, upstream-vcs, updated. f5b4e4555670cc3b4a24802eb44d7d47c379bee4
raster
raster at alioth.debian.org
Fri May 23 22:08:29 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit 79c1ba604425c8974ae51a096bb05394e9ad5943
Author: raster <raster>
Date: Sun Apr 6 02:08:21 2008 +0000
adriano';s edje text fit patch
diff --git a/src/lib/edje_text.c b/src/lib/edje_text.c
index 658d2e1..c8fd9f4 100644
--- a/src/lib/edje_text.c
+++ b/src/lib/edje_text.c
@@ -189,7 +189,10 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
}
}
- if (!((c1 >= 0 || c2 >= 0) && (tw > sw)))
+ if (!(((c1 >= 0) || (c2 >= 0)) && (tw > sw)))
+ return text;
+
+ if ((c1 == 0) && (c2 == 0))
return text;
orig_len = strlen(text);
--
Enlightenment DR17 graphical layout and animation library
More information about the Pkg-e-commits
mailing list