diff --git a/README.md b/README.md index 41fe988..2726b16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ITHVNR +# NextHooker @@ -12,7 +12,7 @@ Basically, GUI text hooker based on [Stomp](http://www.hongfire.com/forum/showth See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension. -To use an extension, simply rename the extension dll file to ```{NUMBER}_nextvnr_extension.dll``` and copy into the NextVNR folder. +To use an extension, simply rename the extension dll file to ```{NUMBER}_nexthooker_extension.dll``` and copy into the NextVNR folder. Extensions are called in order by the number they are prefixed with. diff --git a/vnr/extensions/Extensions.cpp b/vnr/extensions/Extensions.cpp index ae5a9e2..222fc2b 100644 --- a/vnr/extensions/Extensions.cpp +++ b/vnr/extensions/Extensions.cpp @@ -21,7 +21,7 @@ void LoadExtensions() } else { - if (wcsstr(fileData.cFileName, L"_nextvnr_extension.dll")) + if (wcsstr(fileData.cFileName, L"_nexthooker_extension.dll")) { extensionFunctions[wcstoul(fileData.cFileName, nullptr, 10)] = (ExtensionFunction)GetProcAddress(LoadLibraryW(fileData.cFileName), "OnSentence"); }