diff options
Diffstat (limited to 'otr')
-rw-r--r-- | otr/dllmain.cpp | 9 | ||||
-rw-r--r-- | otr/otr.mdsp | 12 | ||||
-rw-r--r-- | otr/otr_private.h | 4 |
3 files changed, 11 insertions, 14 deletions
diff --git a/otr/dllmain.cpp b/otr/dllmain.cpp index f4f13b7..c254fcc 100644 --- a/otr/dllmain.cpp +++ b/otr/dllmain.cpp @@ -1260,7 +1260,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { update.szComponentName = pluginInfo.shortName;
update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion);
update.cpbVersion = strlen((char *)update.pbVersion);
- update.szBetaChangelogURL = "https://server.scottellis.com.au/websvn/log.php?repname=Miranda+Plugins&path=%2Fotr%2F&rev=0&sc=0&isdir=1";
+ update.szBetaChangelogURL = "https://server.scottellis.com.au/wsvn/mim_plugs/otr/?op=log&rev=0&sc=0&isdir=1";
update.szUpdateURL = UPDATER_AUTOREGISTER;
@@ -1280,11 +1280,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { InitUtils();
InitMenu();
- // filter added db events, so that we can add the prefix if the option is enabled
- // (done here rather than in Load, so that MessageNotify and other such plugins can hook first - this hooks
- // later, so it's at the start of the event chain, and can replace db events without e.g. double popups)
- hEventDbEventAddedFilter = HookEvent(ME_DB_EVENT_FILTER_ADD, OnDatabaseEventPreAdd);
-
// hooked so we can remove OFF THE RECORD items from the database
hEventDbEventAdded = HookEvent(ME_DB_EVENT_ADDED, OnDatabaseEventAdd);
@@ -1393,6 +1388,8 @@ extern "C" DLLIMPORT int Load(PLUGINLINK *link) { // hook modules loaded for updater support
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
+ // filter added db events, so that we can add the prefix if the option is enabled
+ hEventDbEventAddedFilter = HookEvent(ME_DB_EVENT_FILTER_ADD, OnDatabaseEventPreAdd);
return 0;
}
diff --git a/otr/otr.mdsp b/otr/otr.mdsp index bc11823..f182148 100644 --- a/otr/otr.mdsp +++ b/otr/otr.mdsp @@ -27,7 +27,7 @@ optimizeLevel=0 // linker
libraryPath=
-outputFilename=..\..\bin\debug\plugins\otr.dll
+outputFilename=debug\otr.dll
libraries=otr, gcrypt, gpg-error, comctl32, shell32
extraLinkerOptions=-shared
ignoreStartupFile=0
@@ -65,7 +65,7 @@ optimizeLevel=4 // linker
libraryPath=
-outputFilename=..\..\bin\release\plugins\otr.dll
+outputFilename=release\otr.dll
libraries=otr, gcrypt, gpg-error, comctl32, shell32
extraLinkerOptions=
ignoreStartupFile=0
@@ -130,8 +130,8 @@ extraResourceOptions= common.h,1593
..\..\..\..\..\..\..\msys\home\sje\libotr\src\proto.h,0
..\..\..\..\..\..\..\msys\home\sje\libotr\src\message.h,9228
-dllmain.cpp,35022
-menu.cpp,1044
+dllmain.cpp,47892
+menu.cpp,995
options.cpp,9854
-.svn\text-base\dllmain.cpp.svn-base,34942
-otr_private.h,171
+.svn\text-base\dllmain.cpp.svn-base,34873
+otr_private.h,97
diff --git a/otr/otr_private.h b/otr/otr_private.h index 25bca84..6e18b13 100644 --- a/otr/otr_private.h +++ b/otr/otr_private.h @@ -4,8 +4,8 @@ /* VERSION DEFINITIONS */
#define VER_MAJOR 0
#define VER_MINOR 6
-#define VER_RELEASE 0
-#define VER_BUILD 2
+#define VER_RELEASE 0
+#define VER_BUILD 4
#define __STRINGIZE(x) #x
#define VER_STRING __STRINGIZE( VER_MAJOR.VER_MINOR.VER_RELEASE.VER_BUILD )
|