m3g/m3gcore11/src/m3g_appearance.c
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
   425     {
   425     {
   426         Appearance *appearance = m3gAllocZ(m3g, sizeof(Appearance));
   426         Appearance *appearance = m3gAllocZ(m3g, sizeof(Appearance));
   427 
   427 
   428         if (appearance != NULL) {
   428         if (appearance != NULL) {
   429     		m3gInitObject(&appearance->object, m3g, M3G_CLASS_APPEARANCE);
   429     		m3gInitObject(&appearance->object, m3g, M3G_CLASS_APPEARANCE);
   430         }
   430             m3gRegenerateSortKey(appearance);
   431 
   431         }
   432         m3gRegenerateSortKey(appearance);
       
   433         
   432         
   434         return (M3GAppearance) appearance;
   433         return (M3GAppearance) appearance;
   435     }
   434     }
   436 }
   435 }
   437 
   436