forked from Mirrors/wine-wine
Modify the wineconf tags so that the sample config can be included in
the documentation.oldstable
parent
f21887f431
commit
816c86c407
|
@ -67,7 +67,7 @@ WINE REGISTRY Version 2
|
||||||
;"ShowDotFiles" = "1"
|
;"ShowDotFiles" = "1"
|
||||||
"ShellLinker" = "wineshelllink"
|
"ShellLinker" = "wineshelllink"
|
||||||
|
|
||||||
# <wineconf>
|
# [wineconf]
|
||||||
|
|
||||||
[Version]
|
[Version]
|
||||||
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
|
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)
|
||||||
|
@ -313,4 +313,4 @@ WINE REGISTRY Version 2
|
||||||
;[AppDefaults\\pickygame.exe\\dsound]
|
;[AppDefaults\\pickygame.exe\\dsound]
|
||||||
;"EmulDriver" = "N"
|
;"EmulDriver" = "N"
|
||||||
|
|
||||||
# </wineconf>
|
# [/wineconf]
|
||||||
|
|
|
@ -437,9 +437,9 @@ sub InsertDefaultFile {
|
||||||
|
|
||||||
if (open(DEFFILE, "$fileName")) {
|
if (open(DEFFILE, "$fileName")) {
|
||||||
while (<DEFFILE>) {
|
while (<DEFFILE>) {
|
||||||
$state = 0 if ($state == 1 && $_ =~ /^[ \t]*\#/o && index($_, "</$tag>") >= 0);
|
$state = 0 if ($state == 1 && $_ =~ /^[ \t]*\#/o && index($_, "[/$tag]") >= 0);
|
||||||
print $_ if ($state == 1);
|
print $_ if ($state == 1);
|
||||||
$state = 1 if ($state == 0 && $_ =~ /^[ \t]*\#/o && index($_, "<$tag>" ) >= 0);
|
$state = 1 if ($state == 0 && $_ =~ /^[ \t]*\#/o && index($_, "[$tag]" ) >= 0);
|
||||||
}
|
}
|
||||||
close(DEFFILE);
|
close(DEFFILE);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue