diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-04 19:26:14 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-04 19:26:14 +0000 |
commit | 4f9d0d5499135a79fcc558efe139b3069bde4650 (patch) | |
tree | e52852f04d36fab0a9faa3a20206173ddf07ddad /plugins/CountryFlags | |
parent | 0837770aaae3ffa71600497809aa45d266f6574b (diff) |
szEmail same as in LangMan
git-svn-id: http://svn.miranda-ng.org/main/trunk@303 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags')
-rw-r--r-- | plugins/CountryFlags/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/CountryFlags/main.c b/plugins/CountryFlags/main.c index ce4666a1b4..5496f0fdbd 100644 --- a/plugins/CountryFlags/main.c +++ b/plugins/CountryFlags/main.c @@ -26,6 +26,7 @@ struct MM_INTERFACE mmi; int nCountriesCount;
struct CountryListEntry *countries;
int hLangpack;
+static char szEmail[100] = PLUGIN_EMAIL;
static PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -37,7 +38,7 @@ static PLUGININFOEX pluginInfo={ "Service offering misc country utilities as flag icons and a IP-to-Country database.", /* autotranslated */
#endif
"H. Herkenrath",
- PLUGIN_EMAIL, /* @ will be set later */
+ szEmail, /* @ will be set later */
"© 2006-2007 H. Herkenrath",
PLUGIN_WEBSITE,
UNICODE_AWARE,
@@ -100,7 +101,7 @@ __declspec(dllexport) const PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) if(mirandaVersion<PLUGIN_MAKE_VERSION(0,1,0,1)) return NULL;
pluginInfo.cbSize=sizeof(PLUGININFO); /* needed as v0.6 does equality check */
/* email obfuscated, made .rdata writable */
- pluginInfo.authorEmail[PLUGIN_EMAIL_ATT_POS-1]='@';
+ szEmail[PLUGIN_EMAIL_ATT_POS-1] = '@';
return (PLUGININFO*)&pluginInfo; /* header is the same */
}
@@ -109,7 +110,7 @@ __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersi UNREFERENCED_PARAMETER(mirandaVersion);
pluginInfo.cbSize=sizeof(PLUGININFOEX);
/* email obfuscated, made .rdata writable */
- pluginInfo.authorEmail[PLUGIN_EMAIL_ATT_POS-1]='@';
+ szEmail[PLUGIN_EMAIL_ATT_POS-1] = '@';
return &pluginInfo;
}
|