to an allocated instance of NSString, not to the class itself.
+2012-08-17 Alp Aker <alp.tekin.aker@gmail.com>
+
+ * nsfont.m (ns_ascii_average_width): Send initWithFormat selector
+ to an allocated instance of NSString, not to the class itself.
+
2012-08-17 Juanma Barranquero <lekktu@gmail.com>
* makefile.w32-in (C_CTYPE_H): New macro.
for (ch = 0; ch < 95; ch++)
chars[ch] = ' ' + ch;
- ascii_printable = [NSString initWithFormat: @"%s", chars];
+ ascii_printable = [[NSString alloc] initWithFormat: @"%s", chars];
}
#ifdef NS_IMPL_COCOA