widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #00833
[Merge] lp:~borim/widelands/bug1016104 into lp:widelands
Borim has proposed merging lp:~borim/widelands/bug1016104 into lp:widelands.
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #1016104 in widelands: "The stock plot is quite wrong"
https://bugs.launchpad.net/widelands/+bug/1016104
For more details, see:
https://code.launchpad.net/~borim/widelands/bug1016104/+merge/112859
fix for Bug #1016104
* change plot type to avoid wrong max value calculation
--
https://code.launchpad.net/~borim/widelands/bug1016104/+merge/112859
Your team Widelands Developers is requested to review the proposed merge of lp:~borim/widelands/bug1016104 into lp:widelands.
=== modified file 'src/wui/ware_statistics_menu.cc'
--- src/wui/ware_statistics_menu.cc 2012-06-08 22:33:16 +0000
+++ src/wui/ware_statistics_menu.cc 2012-06-29 22:30:29 +0000
@@ -208,7 +208,7 @@
(tabs,
0, 0, plot_width, plot_height);
m_plot_stock->set_sample_rate(STATISTICS_SAMPLE_TIME);
- m_plot_stock->set_plotmode(WUIPlot_Area::PLOTMODE_RELATIVE);
+ m_plot_stock->set_plotmode(WUIPlot_Area::PLOTMODE_ABSOLUTE);
tabs->add
("stock", g_gr->get_picture(PicMod_UI, pic_tab_stock),
Follow ups