Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Upgraded version and removed old code
Browse files Browse the repository at this point in the history
  • Loading branch information
maoserr committed Aug 27, 2014
1 parent 2c87909 commit e9f7684
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(PRO_NAME "RedshiftGUI")
# Project version
set(RSG_VERSION_MAJOR 0)
set(RSG_VERSION_MINOR 2)
set(RSG_VERSION_PATCH 1)
set(RSG_VERSION_PATCH 4)
set(RSG_VERSION
"${RSG_VERSION_MAJOR}.${RSG_VERSION_MINOR}.${RSG_VERSION_PATCH}")
# Project information
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#endif

// Stringify
#define STR(X) #X
#define STR(X) X

// Math macros
#ifndef MIN
Expand Down
4 changes: 3 additions & 1 deletion src/gui/iupgui.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ int gui_about(/*@unused@*/ Ihandle *ih){
"SCROLLBAR","VERTICAL",
"READONLY","YES",
"VALUE",
_("Homepage:\nhttp://www.mao-yu.com/projects/redshiftgui/\n\n"
_("Homepage:\n"
STR(PACKAGE_HOME)
"\n\n"
"Written by Mao Yu\n"
"Redshift GUI is based on Redshift by Jon Lund Steffensen\n"
"This program uses IUP and libcURL\n"
Expand Down
4 changes: 2 additions & 2 deletions src/gui/iupgui_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ static void _settings_create(void){
frame_day = _settings_create_day_temp();
frame_night = _settings_create_night_temp();
frame_startup = _settings_create_startup();
frame_icons = _settings_create_icons();
//frame_icons = _settings_create_icons();
frame_speed = _settings_create_tran();
frame_elev = _settings_create_elev();

Expand All @@ -442,7 +442,7 @@ static void _settings_create(void){
frame_day,
frame_night,
frame_startup,
frame_icons,
//frame_icons,
NULL),
IupVbox(
frame_speed,
Expand Down

0 comments on commit e9f7684

Please sign in to comment.