diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-02-05 23:40:55 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-02-06 00:05:35 +0100 |
commit | 98518865f72ccb25e3f5a061508aff98ffb59493 (patch) | |
tree | 83a97d558ebf11a45affe7ba6b8f13145ec269a0 /plugins/Msg_Export/src/main.cpp | |
parent | 5a3ac5642a0e4bf770d399ae015dd9e65b34cf71 (diff) |
Msg_Export: Allow entering "0" for no limit of line width
Diffstat (limited to 'plugins/Msg_Export/src/main.cpp')
-rwxr-xr-x | plugins/Msg_Export/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Msg_Export/src/main.cpp b/plugins/Msg_Export/src/main.cpp index 72d24735dc..379d25f4ec 100755 --- a/plugins/Msg_Export/src/main.cpp +++ b/plugins/Msg_Export/src/main.cpp @@ -189,7 +189,7 @@ extern "C" __declspec(dllexport) int Load() HookEvent(ME_SYSTEM_MODULESLOADED, MainInit);
nMaxLineWidth = db_get_w(NULL, MODULE, "MaxLineWidth", nMaxLineWidth);
- if (nMaxLineWidth < 5)
+ if (nMaxLineWidth > 0 && nMaxLineWidth < 5)
nMaxLineWidth = 5;
sExportDir = _DBGetString(NULL, MODULE, "ExportDir", L"%dbpath%\\MsgExport\\");
|