Kaydet (Commit) 7c358450 authored tarafından Michael Stahl's avatar Michael Stahl

extensions: kill StarOffice/StarSuite branding in browser plugin

Change-Id: Ia4c291936ad0b31e67d8edb046424d29462171b5
üst abd33384
...@@ -434,14 +434,11 @@ char* NSP_getProductName() ...@@ -434,14 +434,11 @@ char* NSP_getProductName()
strcpy(productName, pStart); strcpy(productName, pStart);
} }
fclose(fp); fclose(fp);
if ((*productName == 0) || if (*productName == 0)
(0 != STRNICMP(productName, "StarOffice", sizeof("StarOffice"))))
{ {
strcpy(productName, PLUGIN_NAME); strcpy(productName, PLUGIN_NAME);
return productName; return productName;
} }
memset(productName, 0, sizeof(productName));
strcat(productName, "StarOffice/StarSuite");
return productName; return productName;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment