• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Révision74da7e63a76fe27d41fae603f2acb946d15d0650 (tree)
l'heure2001-06-12 19:51:25
AuteurCyrille Chepelov <cyrille@src....>
CommiterCyrille Chepelov

Message de Log

final hunt for lazyprops debris

Change Summary

Modification

--- a/lib/connpoint_line.c
+++ b/lib/connpoint_line.c
@@ -163,8 +163,14 @@ connpointline_load(Object *obj,ObjectNode obj_node,
163163 const gchar *name, int default_nc,int *realconncount)
164164 {
165165 ConnPointLine *cpl;
166+ int nc = default_nc;
167+ AttributeNode attr;
168+
169+ attr = object_find_attribute(obj_node, name);
170+ if (attr != NULL)
171+ nc = data_int(attribute_first_data(attr));
172+ cpl = connpointline_create(obj,nc);
166173
167- cpl = connpointline_create(obj,load_int(obj_node,name,default_nc));
168174 if (realconncount) (*realconncount) += cpl->num_connections;
169175 return cpl;
170176 /* NOT this !