use define driver preference

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8015 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 235e94cdb996bffb63c51d672b0a2d539abc7df1
Former-commit-id: 1cf08198c3a8fa74b80146ac23bc51dffa69e5cf
This commit is contained in:
iobyte 2022-02-08 02:21:49 +00:00
parent 27391eb1ba
commit 5b7efece5e

View file

@ -737,7 +737,7 @@ int WebServer::readUserConfig (int userId)
char xmlPath[1024]; char xmlPath[1024];
// find the xmlPath to our specific user in the preferencies xml file // find the xmlPath to our specific user in the preferencies xml file
snprintf(xmlPath, sizeof(xmlPath), "%s%i", "Preferences/Drivers/", userId); snprintf(xmlPath, sizeof(xmlPath), "%s/%i", HM_SECT_DRVPREF, userId);
//read the preferencies file //read the preferencies file
prHandle = GfParmReadFileLocal(HM_PREF_FILE, GFPARM_RMODE_REREAD); prHandle = GfParmReadFileLocal(HM_PREF_FILE, GFPARM_RMODE_REREAD);