Commit 750a9193f4fa677cbdb5e0831af90281f76d800f

Authored by Perry Werneck
1 parent 2f2beb16
Exists in master and in 1 other branch develop

Addin product name on the search for main library's path.

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
client/src/session/local/init.cc
... ... @@ -111,10 +111,15 @@
111 111 HKEY hKey = 0;
112 112  
113 113 static const char * keys[] = {
  114 +
  115 + "Software\\" LIB3270_STRINGIZE_VALUE_OF(PRODUCT_NAME),
  116 + "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" LIB3270_STRINGIZE_VALUE_OF(PRODUCT_NAME),
  117 +
114 118 #ifdef LIB3270_NAME
115 119 "Software\\" LIB3270_STRINGIZE_VALUE_OF(LIB3270_NAME),
116 120 "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" LIB3270_STRINGIZE_VALUE_OF(LIB3270_NAME),
117 121 #endif
  122 +
118 123 "Software\\pw3270",
119 124 "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\pw3270"
120 125 };
... ...