fc06355cd1
to obsolete code that other software (dia) still use in their 5/20/2001 software release >sigh< -- this fixes the reported dia breakage on ports@
30 lines
960 B
Plaintext
30 lines
960 B
Plaintext
--- objects/custom/shape_info.c.orig Fri Jun 1 02:15:40 2001
|
|
+++ objects/custom/shape_info.c Fri Jun 1 02:16:13 2001
|
|
@@ -501,7 +501,7 @@ static void
|
|
parse_svg_node(ShapeInfo *info, xmlNodePtr node, xmlNsPtr svg_ns,
|
|
GraphicStyle *style)
|
|
{
|
|
- CHAR *str;
|
|
+ char *str;
|
|
char *old_locale;
|
|
|
|
/* walk SVG node ... */
|
|
@@ -868,7 +868,7 @@ load_shape_info(const gchar *filename)
|
|
for (pt_node = node->childs; pt_node != NULL; pt_node = pt_node->next) {
|
|
if (pt_node->ns == shape_ns && !strcmp(pt_node->name, "point")) {
|
|
Point pt = { 0.0, 0.0 };
|
|
- CHAR *str;
|
|
+ char *str;
|
|
|
|
str = xmlGetProp(pt_node, "x");
|
|
if (str) {
|
|
@@ -891,7 +891,7 @@ load_shape_info(const gchar *filename)
|
|
info->connections = (Point *)arr->data;
|
|
g_array_free(arr, FALSE);
|
|
} else if (node->ns == shape_ns && !strcmp(node->name, "textbox")) {
|
|
- CHAR *str;
|
|
+ char *str;
|
|
|
|
str = xmlGetProp(node, "x1");
|
|
if (str) {
|