alvin_

album-0.9.2.patch

Nov 24th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. diff --git a/MainWindow.cpp b/MainWindow.cpp
  2. index 4fcb98a..66ed596 100644
  3. --- a/MainWindow.cpp
  4. +++ b/MainWindow.cpp
  5. @@ -142,7 +142,7 @@ MainWindow::MainWindow(BRect frame, const char *title):
  6.    
  7.     // Create a tempory repository for negotiated drops from image ditors etc.
  8.     BPath path;
  9. -   if (find_directory(B_COMMON_TEMP_DIRECTORY, &path) == B_OK) {
  10. +   if (find_directory(B_SYSTEM_TEMP_DIRECTORY, &path) == B_OK) {
  11.         path.Append("Album");
  12.         if (create_directory(path.Path(), 0x777) == B_OK) {
  13.             fRepository.SetTo(path.Path());
Add Comment
Please, Sign In to add comment