1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Minor string clean-ups. Made key-shortcut indicators in popup menus use icons for shift/command/option on the mac.

This commit is contained in:
Julian Storer 2011-02-24 14:27:59 +00:00
parent 04351861ae
commit 06d436a3ab
34 changed files with 99 additions and 92 deletions

View file

@ -448,16 +448,12 @@ const String Time::getTimeZone() const throw()
_tzset();
#ifdef USE_NEW_SECURE_TIME_FNS
for (int i = 0; i < 2; ++i)
{
char name [128];
char name[128] = { 0 };
size_t length;
for (int i = 0; i < 2; ++i)
{
zeromem (name, sizeof (name));
_get_tzname (&length, name, 127, i);
zone[i] = name;
}
_get_tzname (&length, name, 127, i);
zone[i] = name;
}
#else
const char** const zonePtr = (const char**) _tzname;