[gtk] Fix render flag setup in options dialog

pull/147/head
Hleb Valoshka 2018-11-29 00:37:09 +03:00
parent 17144db455
commit 83a9751eb3
1 changed files with 2 additions and 2 deletions

View File

@ -1343,9 +1343,9 @@ void resyncRenderActions(AppData* app)
/* Unlike the other interfaces, which go through each menu item and set
* the corresponding renderFlag, we go the other way and set the menu
* based on the renderFlag. Last one is ShowEcliptic. */
* based on the renderFlag. Last one is ShowFadingOrbits. */
for (int i = Renderer::ShowStars; i <= Renderer::ShowEcliptic; i *= 2)
for (uint64_t i = Renderer::ShowStars; i <= Renderer::ShowFadingOrbits; i *= 2)
{
switch (i)
{