Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3d8820ea
Commit
3d8820ea
authored
Oct 15, 2002
by
Martin Fuchs
Committed by
Alexandre Julliard
Oct 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed building unter native WIN32.
- Fixed display of filenames in tree pane.
parent
e022026c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
15 deletions
+31
-15
rsrc.rc
programs/winefile/rsrc.rc
+0
-0
winefile.c
programs/winefile/winefile.c
+27
-15
winefile.h
programs/winefile/winefile.h
+4
-0
No files found.
programs/winefile/rsrc.rc
View file @
3d8820ea
This diff is collapsed.
Click to expand it.
programs/winefile/winefile.c
View file @
3d8820ea
...
...
@@ -18,15 +18,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _WIN32
#include "config.h"
#include "wine/port.h"
#endif
#include "winefile.h"
#include "resource.h"
/* for read_directory_unix() */
#if !defined(_NO_EXTENSIONS)
#if !defined(_NO_EXTENSIONS)
&& !defined(_WIN32)
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
...
...
@@ -1364,13 +1366,18 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
DRAWITEMSTRUCT
dis
;
dis
.
CtlType
=
0
;
dis
.
CtlID
=
0
;
dis
.
itemID
=
0
;
dis
.
itemAction
=
0
;
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
CtlType
=
0
;
dis
.
CtlID
=
0
;
dis
.
itemID
=
0
;
dis
.
itemAction
=
0
;
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
rcItem
.
left
=
0
;
dis
.
rcItem
.
top
=
0
;
dis
.
rcItem
.
right
=
0
;
dis
.
rcItem
.
bottom
=
0
;
/*dis.itemData = 0; */
draw_item
(
pane
,
&
dis
,
entry
,
COLUMNS
);
}
...
...
@@ -1437,13 +1444,18 @@ static void calc_single_width(Pane* pane, int col)
Entry
*
entry
=
(
Entry
*
)
ListBox_GetItemData
(
pane
->
hwnd
,
cnt
);
DRAWITEMSTRUCT
dis
;
dis
.
CtlType
=
0
;
dis
.
CtlID
=
0
;
dis
.
itemID
=
0
;
dis
.
itemAction
=
0
;
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
CtlType
=
0
;
dis
.
CtlID
=
0
;
dis
.
itemID
=
0
;
dis
.
itemAction
=
0
;
dis
.
itemState
=
0
;
dis
.
hwndItem
=
pane
->
hwnd
;
dis
.
hDC
=
hdc
;
dis
.
rcItem
.
left
=
0
;
dis
.
rcItem
.
top
=
0
;
dis
.
rcItem
.
right
=
0
;
dis
.
rcItem
.
bottom
=
0
;
/*dis.itemData = 0; */
draw_item
(
pane
,
&
dis
,
entry
,
col
);
}
...
...
programs/winefile/winefile.h
View file @
3d8820ea
...
...
@@ -42,6 +42,10 @@
#include <tchar.h>
#include <ctype.h>
#ifdef _MSC_VER
#include <malloc.h>
/* for alloca() */
#endif
#ifndef FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
#define FILE_ATTRIBUTE_ENCRYPTED 0x00000040
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment