[Gpredict-svn] SF.net SVN: gpredict: [15] trunk/src
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <cs...@us...> - 2008-01-24 20:48:43
|
Revision: 15 http://gpredict.svn.sourceforge.net/gpredict/?rev=15&view=rev Author: csete Date: 2008-01-24 12:48:48 -0800 (Thu, 24 Jan 2008) Log Message: ----------- Changed radio conf structure so that configuration name doe not include file extension. Modified Paths: -------------- trunk/src/radio-conf.c trunk/src/radio-conf.h Modified: trunk/src/radio-conf.c =================================================================== --- trunk/src/radio-conf.c 2008-01-24 18:41:41 UTC (rev 14) +++ trunk/src/radio-conf.c 2008-01-24 20:48:48 UTC (rev 15) @@ -66,7 +66,7 @@ confdir = get_conf_dir(); fname = g_strconcat (confdir, G_DIR_SEPARATOR_S, "hwconf", G_DIR_SEPARATOR_S, - conf->name, NULL); + conf->name, ".rig", NULL); g_free (confdir); /* open .grc file */ @@ -136,7 +136,7 @@ confdir = get_conf_dir(); fname = g_strconcat (confdir, G_DIR_SEPARATOR_S, "hwconf", G_DIR_SEPARATOR_S, - conf->name, NULL); + conf->name, ".rig", NULL); g_free (confdir); g_file_set_contents (fname, data, len, NULL); Modified: trunk/src/radio-conf.h =================================================================== --- trunk/src/radio-conf.h 2008-01-24 18:41:41 UTC (rev 14) +++ trunk/src/radio-conf.h 2008-01-24 20:48:48 UTC (rev 15) @@ -54,7 +54,7 @@ /** \brief Radio configuration. */ typedef struct { - gchar *name; /*!< Configuration file name. */ + gchar *name; /*!< Configuration file name, less .rig. */ gchar *model; /*!< Radio model, e.g. ICOM IC-910H. */ guint id; /*!< Hamlib ID. */ radio_type_t type; /*!< Radio type. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |