From 53a8f664045f7453cd993c8b40fe1f7218319938 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 12 Jun 2005 11:30:17 +0000 Subject: [PATCH] small adjustements: - #ifdef for WINE specific menu item - C style comment - white space svn path=/trunk/; revision=15873 --- reactos/subsys/system/winefile/unixcalls.c | 1 - reactos/subsys/system/winefile/winefile.c | 6 +++--- reactos/subsys/system/winefile/winefile.dsp | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/reactos/subsys/system/winefile/unixcalls.c b/reactos/subsys/system/winefile/unixcalls.c index ed78e3e3cca..14923990076 100644 --- a/reactos/subsys/system/winefile/unixcalls.c +++ b/reactos/subsys/system/winefile/unixcalls.c @@ -88,4 +88,3 @@ int call_stat( #endif /* _NO_EXTENSIONS */ #endif /* __WINE__ */ - diff --git a/reactos/subsys/system/winefile/winefile.c b/reactos/subsys/system/winefile/winefile.c index db546e6652d..2b1a985d8fb 100644 --- a/reactos/subsys/system/winefile/winefile.c +++ b/reactos/subsys/system/winefile/winefile.c @@ -2386,11 +2386,11 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM case ID_NO_WARRANTY: WineWarranty(Globals.hMainWnd); break; -#endif case ID_ABOUT_WINE: ShellAbout(hwnd, RS(b2,IDS_WINE), RS(b1,IDS_WINEFILE), 0); break; +#endif case ID_ABOUT: ShellAbout(hwnd, RS(b1,IDS_WINEFILE), NULL, 0); @@ -2779,7 +2779,7 @@ static int insert_entries(Pane* pane, Entry* dir, LPCTSTR pattern, int filter_fl continue; break; - default: // TF_OTHERS + default: /* TF_OTHERS */ if (!(filter_flags & TF_OTHERS)) continue; } @@ -4008,7 +4008,7 @@ static BOOL is_directory(LPCTSTR target) return target_attr&FILE_ATTRIBUTE_DIRECTORY? TRUE: FALSE; } - + static BOOL prompt_target(Pane* pane, LPTSTR source, LPTSTR target) { TCHAR path[MAX_PATH]; diff --git a/reactos/subsys/system/winefile/winefile.dsp b/reactos/subsys/system/winefile/winefile.dsp index ce5a514c958..2ee47432ec8 100644 --- a/reactos/subsys/system/winefile/winefile.dsp +++ b/reactos/subsys/system/winefile/winefile.dsp @@ -208,10 +208,6 @@ SOURCE=.\pt.rc # End Source File # Begin Source File -SOURCE=.\resource.h -# End Source File -# Begin Source File - SOURCE=.\resource.rc # PROP Exclude_From_Build 1 # End Source File @@ -259,6 +255,10 @@ SOURCE=.\license.h # End Source File # Begin Source File +SOURCE=.\resource.h +# End Source File +# Begin Source File + SOURCE=.\splitpath.c # PROP Exclude_From_Build 1 # End Source File