From d5c0bee9ae13ec6f1d6390b77363fde64dbff441 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Fri, 8 Oct 2004 19:30:45 +0000 Subject: [PATCH] resource files svn path=/trunk/; revision=11231 --- reactos/subsys/system/winefile/winefile.c | 4 +++ reactos/subsys/system/winefile/winefile.dsp | 40 +++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/reactos/subsys/system/winefile/winefile.c b/reactos/subsys/system/winefile/winefile.c index 3e36eb81263..7012cd3a13e 100644 --- a/reactos/subsys/system/winefile/winefile.c +++ b/reactos/subsys/system/winefile/winefile.c @@ -2834,19 +2834,23 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi if (visible_cols & COL_INDEX) { _stprintf(buffer, sLongHexFmt, index); + if (calcWidthCol == -1) output_text(pane, dis, col, buffer, DT_RIGHT); else if (calcWidthCol==col || calcWidthCol==COLUMNS) calc_width(pane, dis, col, buffer); + col++; } if (visible_cols & COL_LINKS) { wsprintf(buffer, sNumFmt, entry->bhfi.nNumberOfLinks); + if (calcWidthCol == -1) output_text(pane, dis, col, buffer, DT_CENTER); else if (calcWidthCol==col || calcWidthCol==COLUMNS) calc_width(pane, dis, col, buffer); + col++; } } else diff --git a/reactos/subsys/system/winefile/winefile.dsp b/reactos/subsys/system/winefile/winefile.dsp index 4aa655905eb..064815bc565 100644 --- a/reactos/subsys/system/winefile/winefile.dsp +++ b/reactos/subsys/system/winefile/winefile.dsp @@ -169,10 +169,35 @@ SOURCE=.\es.rc # End Source File # Begin Source File +SOURCE=.\fr.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\hu.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + SOURCE=.\images.bmp # End Source File # Begin Source File +SOURCE=.\it.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\nl.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\pt.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + SOURCE=.\resource.h # End Source File # Begin Source File @@ -182,6 +207,16 @@ SOURCE=.\resource.rc # End Source File # Begin Source File +SOURCE=.\ru.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\si.rc +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + SOURCE=.\toolbar.bmp # End Source File # Begin Source File @@ -192,6 +227,11 @@ SOURCE=.\winefile.ico SOURCE=.\winefile.rc # End Source File +# Begin Source File + +SOURCE=.\zh.rc +# PROP Exclude_From_Build 1 +# End Source File # End Group # Begin Source File