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
edda6875
Commit
edda6875
authored
Oct 21, 1998
by
Chad Powell
Committed by
Alexandre Julliard
Oct 21, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a default program option in wine.conf in section [programs] key
Default.
parent
fb074c44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
main.c
miscemu/main.c
+9
-1
wine.ini
wine.ini
+5
-0
No files found.
miscemu/main.c
View file @
edda6875
...
@@ -47,7 +47,7 @@ BOOL32 MAIN_EmulatorInit(void)
...
@@ -47,7 +47,7 @@ BOOL32 MAIN_EmulatorInit(void)
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
int
argc
,
char
*
argv
[]
)
{
{
extern
char
*
DEBUG_argv0
;
extern
char
*
DEBUG_argv0
;
char
startProg
[
256
];
char
startProg
[
256
]
,
defProg
[
256
]
;
int
i
,
loaded
;
int
i
,
loaded
;
HINSTANCE32
handle
;
HINSTANCE32
handle
;
...
@@ -87,6 +87,14 @@ int main( int argc, char *argv[] )
...
@@ -87,6 +87,14 @@ int main( int argc, char *argv[] )
loaded
=
0
;
loaded
=
0
;
/* Add the Default Program if no program on the command line */
if
(
!
argv
[
1
])
{
PROFILE_GetWineIniString
(
"programs"
,
"Default"
,
""
,
defProg
,
sizeof
(
defProg
)
);
if
(
defProg
[
0
])
argv
[
argc
++
]
=
defProg
;
}
/* Add the Startup Program to the run list */
/* Add the Startup Program to the run list */
PROFILE_GetWineIniString
(
"programs"
,
"Startup"
,
""
,
PROFILE_GetWineIniString
(
"programs"
,
"Startup"
,
""
,
startProg
,
sizeof
(
startProg
)
);
startProg
,
sizeof
(
startProg
)
);
...
...
wine.ini
View file @
edda6875
...
@@ -78,3 +78,7 @@ Exclude=WM_SIZE;WM_TIMER;
...
@@ -78,3 +78,7 @@ Exclude=WM_SIZE;WM_TIMER;
[Tweak.Layout]
[Tweak.Layout]
;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
;WineLook=Win95
;WineLook=Win95
[programs]
Default
=
Startup
=
\ No newline at end of file
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