Coding style fixes, no functionnal changes.
Following comments from Axel about a previous commit of mine. Sorry Axel for the delay.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <Alert.h>
|
||||
#include <Button.h>
|
||||
#include <Catalog.h>
|
||||
#include <FindDirectory.h>
|
||||
#include <LayoutBuilder.h>
|
||||
#include <MediaDefs.h>
|
||||
#include <MediaNode.h>
|
||||
@@ -23,8 +24,6 @@
|
||||
#include <TimeSource.h>
|
||||
#include <TranslationKit.h>
|
||||
|
||||
#include <storage/FindDirectory.h>
|
||||
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "CodyCam"
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
#include <Alert.h>
|
||||
#include <Catalog.h>
|
||||
#include <FilePanel.h>
|
||||
#include <FindDirectory.h>
|
||||
#include <IconEditorProtocol.h>
|
||||
#include <Locale.h>
|
||||
#include <Message.h>
|
||||
#include <Mime.h>
|
||||
#include <Path.h>
|
||||
#include <storage/FindDirectory.h>
|
||||
|
||||
#include "support_settings.h"
|
||||
|
||||
@@ -331,7 +331,7 @@ IconEditorApp::_LastFilePath(path_kind which)
|
||||
path = fLastOpenPath.String();
|
||||
break;
|
||||
}
|
||||
if (!path) {
|
||||
if (path == NULL) {
|
||||
|
||||
BPath homePath;
|
||||
if (find_directory(B_USER_DIRECTORY, &homePath) == B_OK)
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <Catalog.h>
|
||||
#include <ControlLook.h>
|
||||
#include <FilePanel.h>
|
||||
#include <FindDirectory.h>
|
||||
#include <LayoutBuilder.h>
|
||||
#include <Locale.h>
|
||||
#include <Menu.h>
|
||||
@@ -31,8 +32,6 @@
|
||||
#include <StringView.h>
|
||||
#include <TextControl.h>
|
||||
|
||||
#include <storage/FindDirectory.h>
|
||||
|
||||
#include "MediaFileInfoView.h"
|
||||
#include "MediaFileListView.h"
|
||||
#include "MessageConstants.h"
|
||||
|
||||
Reference in New Issue
Block a user