Commit 3d8820ea authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

- Fixed building unter native WIN32.

- Fixed display of filenames in tree pane.
parent e022026c
......@@ -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>
......@@ -1371,6 +1373,11 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
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);
}
......@@ -1444,6 +1451,11 @@ static void calc_single_width(Pane* pane, int col)
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);
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment