mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
minor fixes
This commit is contained in:
parent
a64fa9b3dd
commit
241d5906e4
@ -15,4 +15,4 @@ add_executable(${PROJECT_NAME} WIN32
|
||||
)
|
||||
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp)
|
||||
|
||||
#install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds
|
||||
install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
struct Extension
|
||||
{
|
||||
std::wstring name;
|
||||
|
@ -10,9 +10,9 @@ public:
|
||||
int delay;
|
||||
|
||||
private:
|
||||
inline static HANDLE DUMMY;
|
||||
std::atomic<int> requestsLeft;
|
||||
AutoHandle<Functor<DeleteTimerQueue>> timerQueue = CreateTimerQueue();
|
||||
HANDLE DUMMY;
|
||||
};
|
||||
|
||||
inline std::wstring StringToWideString(const std::string& text)
|
||||
|
@ -65,7 +65,7 @@ private:
|
||||
};
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define TEST(...) inline AutoHandle<> TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr);
|
||||
#define TEST(...) inline auto TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr);
|
||||
#else
|
||||
#define TEST(...)
|
||||
#endif
|
||||
|
3
text.cpp
3
text.cpp
@ -114,8 +114,7 @@ Replacement commands must be formatted like this:
|
||||
|ORIG|original_text|BECOMES|replacement_text|END|
|
||||
All text in this file outside of a replacement command is ignored.
|
||||
Whitespace in original_text is ignored, but replacement_text can contain spaces, newlines, etc.
|
||||
This file must be encoded in Unicode (UTF-16 little endian).
|
||||
)";
|
||||
This file must be encoded in Unicode (UTF-16 little endian).)";
|
||||
const char* THREAD_LINKER = u8"Thread Linker";
|
||||
const char* LINK = u8"Link";
|
||||
const char* THREAD_LINK_FROM = u8"Thread number to link from";
|
||||
|
Loading…
x
Reference in New Issue
Block a user