diff options
author | Trupti Pimparkar <tpimparkar@nvidia.com> | 2017-10-31 23:37:20 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2018-01-04 10:12:08 -0800 |
commit | 05ab4acd06bc4612fd92b011794f9b701b29be80 (patch) | |
tree | 11e5849cdb247be0f2c6b2a11af14110b796a05c | |
parent | 635666ba50f11d9975844e997b0dce26e86d0a03 (diff) |
nvidia-gridd : Set default value of EnableUI config parameter to false
-rw-r--r-- | src/gtk+-2.x/ctkgridlicense.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk+-2.x/ctkgridlicense.c b/src/gtk+-2.x/ctkgridlicense.c index a0ba600..62af8d2 100644 --- a/src/gtk+-2.x/ctkgridlicense.c +++ b/src/gtk+-2.x/ctkgridlicense.c @@ -226,7 +226,7 @@ static NvGriddConfigParams *AllocNvGriddConfigParams(void) griddConfig->str[NV_GRIDD_SERVER_ADDRESS] = nvstrdup(""); griddConfig->str[NV_GRIDD_SERVER_PORT] = nvstrdup(""); griddConfig->str[NV_GRIDD_FEATURE_TYPE] = nvstrdup("0"); - griddConfig->str[NV_GRIDD_ENABLE_UI] = nvstrdup("TRUE"); + griddConfig->str[NV_GRIDD_ENABLE_UI] = nvstrdup("FALSE"); griddConfig->str[NV_GRIDD_BACKUP_SERVER_ADDRESS] = nvstrdup(""); griddConfig->str[NV_GRIDD_BACKUP_SERVER_PORT] = nvstrdup(""); @@ -1227,7 +1227,7 @@ GtkWidget* ctk_manage_grid_license_new(CtrlTarget *target, griddConfig = GetNvGriddConfigParams(); if (griddConfig && - (strcmp(griddConfig->str[NV_GRIDD_ENABLE_UI], "FALSE") == 0)) { + (strcmp(griddConfig->str[NV_GRIDD_ENABLE_UI], "TRUE") != 0)) { return NULL; } |