Commandline options 1/0 <=> true/false on win32
Bug #1169445 reported by
Tino
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Setting an option on windows with true oder false does not work, you'll have to use 1 or 0.
E.g.:
--opengl=true => does not work
--opengl=1 => does work
Related branches
lp:~widelands-dev/widelands/bug-1169445
- SirVer: Approve
-
Diff: 127 lines (+40/-19)3 files modifiedsrc/profile/profile.cc (+20/-2)
src/wlapplication.cc (+0/-11)
src/wlapplication_messages.cc (+20/-6)
description: | updated |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
tags: |
added: windows removed: win32 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It works perfectly well for me, Tino ( winXP SP3)
I do that all the time (edit the config file, because the game crashes when I change OpenGL or resolution from within the UI)
here is my C:\Dokumente und Einstellungen\ Wolf\.widelands \config file.
# Automatically created by Widelands bzr6549[trunk] (Release)
[global] watchwin= "false" mode="true" ="true" only_when_ overlapping= "false" to_edges= "true" music=" true" message= "true" new_game= "1000" snap_distance= "3" distance= "3" syncstreams= "true" chat="true"
disable_fx="true"
xres="1900"
yres="1080"
fullscreen="false"
inputgrab="false"
single_
auto_roadbuild_
workareapreview
snap_windows_
dock_windows_
depth="32"
disable_
language="en"
autosave="0"
maxfps="20"
sound_at_
nozip="false"
ui_font="serif"
speed_of_
border_
panel_snap_
remove_replays="43"
remove_
opengl="true"
fx_volume="31"
music_volume="13"
transparent_
realname="Astuur"
nickname="Astuur"