summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-12-20 08:32:05 (GMT)
committerSamuel Lidén Borell <samuel@slbdata.se>2010-12-20 08:32:05 (GMT)
commit5beeb8a680c17182a0056fa5966bc1f6d8168741 (patch)
tree1cf607be87d18ec50475a8536b6b5a4254ca9741
parentdfe8afc1e21558f7c1442ec515ff61255c3da7a0 (diff)
downloadfribid-5beeb8a680c17182a0056fa5966bc1f6d8168741.zip
fribid-5beeb8a680c17182a0056fa5966bc1f6d8168741.tar.gz
fribid-5beeb8a680c17182a0056fa5966bc1f6d8168741.tar.bz2
Changed the name of the plugin for better compatibility
Some web sites check the plugin name instead of the MIME types and expect the BankID plugin to have the name "Nexus Personal". This patch changes the name from "FriBID" to "Nexus Personal".
-rw-r--r--plugin/npmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/npmain.c b/plugin/npmain.c
index 670be29..b8b7fba 100644
--- a/plugin/npmain.c
+++ b/plugin/npmain.c
@@ -55,7 +55,7 @@ NPError NPP_Destroy(NPP instance, NPSavedData **save) {
NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) {
switch (variable) {
case NPPVpluginNameString:
- *((const char**)value) = PACKAGENAME;
+ *((const char**)value) = "Nexus Personal";
return NPERR_NO_ERROR;
case NPPVpluginDescriptionString:
*((const char**)value) = PACKAGENAME " version " PACKAGEVERSION;