dia r4203 - in trunk: . objects/custom
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r4203 - in trunk: . objects/custom
- Date: Sun, 18 Jan 2009 17:20:01 +0000 (UTC)
Author: hans
Date: Sun Jan 18 17:20:01 2009
New Revision: 4203
URL: http://svn.gnome.org/viewvc/dia?rev=4203&view=rev
Log:
2009-01-18 Hans Breuer <hans breuer org>
* objects/custom/shape_info.c(load_shape_info) : default-(width|height)
was still in points. Now it is cm fixing bug #568099
Modified:
trunk/ChangeLog
trunk/objects/custom/shape_info.c
Modified: trunk/objects/custom/shape_info.c
==============================================================================
--- trunk/objects/custom/shape_info.c (original)
+++ trunk/objects/custom/shape_info.c Sun Jan 18 17:20:01 2009
@@ -819,7 +819,7 @@
for (j = 0, ud = units[i]; ud.name; ud = units[++j]) {
unit_ssize = strlen(ud.unit);
if (ssize > unit_ssize && !strcmp(tmp+(ssize-unit_ssize), ud.unit)) {
- val *= ud.factor;
+ val *= (ud.factor / 28.346457);
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]