Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b44c2a3d
Commit
b44c2a3d
authored
Jun 12, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
Jun 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix file size in property dialog by using _stprintf() instead of
wsprintf().
parent
b16f3301
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winefile.c
programs/winefile/winefile.c
+3
-3
No files found.
programs/winefile/winefile.c
View file @
b44c2a3d
...
...
@@ -1848,8 +1848,8 @@ static INT_PTR CALLBACK PropertiesDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wpa
SetWindowText
(
GetDlgItem
(
hwnd
,
IDC_STATIC_PROP_LASTCHANGE
),
b1
);
size
=
((
ULONGLONG
)
pWFD
->
nFileSizeHigh
<<
32
)
|
pWFD
->
nFileSizeLow
;
ws
printf
(
b1
,
sLongNumFmt
,
size
);
ws
printf
(
b2
,
sByteFmt
,
b1
);
_st
printf
(
b1
,
sLongNumFmt
,
size
);
_st
printf
(
b2
,
sByteFmt
,
b1
);
SetWindowText
(
GetDlgItem
(
hwnd
,
IDC_STATIC_PROP_SIZE
),
b2
);
SetWindowText
(
GetDlgItem
(
hwnd
,
IDC_STATIC_PROP_FILENAME
),
pWFD
->
cFileName
);
...
...
@@ -3250,7 +3250,7 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
}
if
(
visible_cols
&
COL_LINKS
)
{
ws
printf
(
buffer
,
sNumFmt
,
entry
->
bhfi
.
nNumberOfLinks
);
_st
printf
(
buffer
,
sNumFmt
,
entry
->
bhfi
.
nNumberOfLinks
);
if
(
calcWidthCol
==
-
1
)
output_text
(
pane
,
dis
,
col
,
buffer
,
DT_CENTER
);
...
...
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