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
c87595c9
Commit
c87595c9
authored
Jan 02, 2003
by
Chris Morgan
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
parent
761dc0d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
directory.c
programs/wcmd/directory.c
+2
-2
wcmdmain.c
programs/wcmd/wcmdmain.c
+1
-1
No files found.
programs/wcmd/directory.c
View file @
c87595c9
...
...
@@ -254,7 +254,7 @@ ULARGE_INTEGER byte_count, file_size;
dir_count
++
;
if
(
!
bare
)
{
WCMD_output
(
"%
8s %8s <DIR>
%s
\n
"
,
WCMD_output
(
"%
10s %8s <DIR>
%s
\n
"
,
datestring
,
timestring
,
(
fd
+
i
)
->
cFileName
);
linesout
++
;
}
else
{
...
...
@@ -276,7 +276,7 @@ ULARGE_INTEGER byte_count, file_size;
#endif
byte_count
.
QuadPart
+=
file_size
.
QuadPart
;
if
(
!
bare
)
{
WCMD_output
(
"%
8
s %8s %10s %s
\n
"
,
WCMD_output
(
"%
10
s %8s %10s %s
\n
"
,
datestring
,
timestring
,
WCMD_filesize64
(
file_size
.
QuadPart
),
(
fd
+
i
)
->
cFileName
);
linesout
++
;
...
...
programs/wcmd/wcmdmain.c
View file @
c87595c9
...
...
@@ -432,7 +432,7 @@ char *p, *q;
status
=
GetEnvironmentVariable
(
"PROMPT"
,
prompt_string
,
sizeof
(
prompt_string
));
if
((
status
==
0
)
||
(
status
>
sizeof
(
prompt_string
)))
{
lstrcpy
(
prompt_string
,
"$
N
$G"
);
lstrcpy
(
prompt_string
,
"$
P
$G"
);
}
p
=
prompt_string
;
q
=
out_string
;
...
...
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