diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-04-17 11:34:21 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-17 08:37:31 -0700 |
commit | 95984628302bee02af3e82ac305b5e3bb4842533 (patch) | |
tree | 56b104b93b6786e4314e88d4a9164d4eaae67178 /parse-xml.c | |
parent | f14c14c383763c73de1a6ec681b017517235f2f6 (diff) | |
download | subsurface-95984628302bee02af3e82ac305b5e3bb4842533.tar.gz |
Removed the globals 'userid' and 'save_userid_local' variables
This is a preferences setting, it should belong to the preferences
structure.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 966e56726..f6806d28a 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -861,7 +861,7 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu void try_to_fill_userid(const char *name, char *buf) { - if (save_userid_local) + if (prefs.save_userid_local) set_userid(buf); } |