Permalink
Browse files

wm: fix application name in license

  • Loading branch information...
1 parent ce58c95 commit c41155e5c521d38c052b43112c05bf23a3cd1132 @genywind genywind committed Aug 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 platform/wm/rhodes/Rhodes.cpp
@@ -836,7 +836,10 @@ extern "C" int rho_wm_impl_CheckLicense()
StringW strCompanyW;
common::convertToStringW( get_app_build_config_item("motorola_license_company"), strCompanyW );
- szLogText = pCheckLicense( getMainWnd(), L"rhodes-system-api-samples", strLicenseW.c_str(), strCompanyW.c_str() );
+ StringW strAppNameW;
+ common::convertToStringW( get_app_build_config_item("name"), strAppNameW );
+
+ szLogText = pCheckLicense( getMainWnd(), strAppNameW.c_str(), strLicenseW.c_str(), strCompanyW.c_str() );
}
if ( szLogText && *szLogText )

0 comments on commit c41155e

Please sign in to comment.