mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f14c14c383
commit
9598462830
9 changed files with 32 additions and 32 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue