mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
This commit is contained in:
parent
548e59d24f
commit
8dd2db73d2
11 changed files with 3640 additions and 3571 deletions
|
|
@ -370,18 +370,18 @@ const File File::getSpecialLocation (const SpecialLocationType type)
|
|||
homeDir = pw->pw_dir;
|
||||
}
|
||||
|
||||
return File (String (homeDir));
|
||||
return File (String::fromUTF8 ((const uint8*) homeDir));
|
||||
}
|
||||
|
||||
case userDocumentsDirectory:
|
||||
case userMusicDirectory:
|
||||
case userMoviesDirectory:
|
||||
case userApplicationDataDirectory:
|
||||
return File ("~");
|
||||
|
||||
case userDesktopDirectory:
|
||||
return File ("~/Desktop");
|
||||
|
||||
case userApplicationDataDirectory:
|
||||
return File ("~");
|
||||
|
||||
case commonApplicationDataDirectory:
|
||||
return File ("/var");
|
||||
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ void WaitableEvent::signal() const throw()
|
|||
|
||||
pthread_mutex_lock (&es->mutex);
|
||||
es->triggered = true;
|
||||
pthread_cond_signal (&es->condition);
|
||||
pthread_cond_broadcast (&es->condition);
|
||||
pthread_mutex_unlock (&es->mutex);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue