URL:
  <http://gna.org/bugs/?24968>

                 Summary: Default options adjustments made believing screen
height to be 0
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 13 Aug 2016 11:12:28 PM EEST
                Category: client-gtk-3.0
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0, 3.0.0
 Contains string changes: None

    _______________________________________________________

Details:

screen_height() can return 0 when it can't get screen height. The code
adjusting default option values suitable to screen size use that value 0 as if
it was valid.

Attached patch makes it avoid any screen size related adjustments (keeps
global defaults) when screen height is unknown.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 13 Aug 2016 11:12:28 PM EEST  Name: NULLScreenNoAdjustment.patch 
Size: 2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=28290>
-------------------------------------------------------
Date: Sat 13 Aug 2016 11:12:28 PM EEST  Name:
NULLScreenNoAdjustment-S2_6.patch  Size: 896B   By: cazfi

<http://gna.org/bugs/download.php?file_id=28291>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24968>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to