Str255 theName ;
short theId ;
OSType theType ;
- strcpy( (char*) theName , name ) ;
- c2pstr( (char*) theName ) ;
+
+#if TARGET_CARBON
+ c2pstrcpy( (StringPtr) theName , name ) ;
+#else
+ strcpy( (char *) theName , name ) ;
+ c2pstr( (char *) theName ) ;
+#endif
Handle resHandle = GetNamedResource( 'cicn' , theName ) ;
if ( resHandle != 0L )
}
}
return FALSE ;
-}
\ No newline at end of file
+}