diff -Nur source/CommandQueue.cpp source.patch/CommandQueue.cpp
old
|
new
|
|
68 | 68 | COptions::SetOption(OPTION_LASTSERVERPORT,server.port); |
69 | 69 | COptions::SetOption(OPTION_LASTSERVERUSER,server.user); |
70 | 70 | COptions::SetOption(OPTION_LASTSERVERDONTREMEMBERPASS,server.bDontRememberPass?1:0); |
| 71 | COptions::SetOption(OPTION_LASTSERVERUTF8,server.nUTF8); |
71 | 72 | COptions::SetOption(OPTION_LASTSERVERNAME,server.name); |
72 | 73 | if (!server.bDontRememberPass && !_ttoi(COptions::GetOption(OPTION_RUNINSECUREMODE))) |
73 | 74 | COptions::SetOption(OPTION_LASTSERVERPASS,CCrypt::encrypt(server.pass)); |
… |
… |
|
777 | 778 | server2.host=COptions::GetOption(OPTION_LASTSERVERHOST); |
778 | 779 | server2.port=COptions::GetOptionVal(OPTION_LASTSERVERPORT); |
779 | 780 | server2.user=COptions::GetOption(OPTION_LASTSERVERUSER); |
| 781 | server2.nUTF8=COptions::GetOptionVal(OPTION_LASTSERVERUTF8); |
780 | 782 | server2.bDontRememberPass=COptions::GetOptionVal(OPTION_LASTSERVERDONTREMEMBERPASS); |
781 | 783 | if (!server2.bDontRememberPass) |
782 | 784 | { |
diff -Nur source/Options.cpp source.patch/Options.cpp
old
|
new
|
|
507 | 507 | _T("Switch view locations"), 1, _T("Use MODE Z "), 1, |
508 | 508 | _T("MODE Z level"), 1, _T("Transfer IP v6"), 0, |
509 | 509 | _T("Enable IPv6"), 1, _T("Log Timestamps"), 1, |
510 | | _T("VMS display all revisions"), 1 |
| 510 | _T("VMS display all revisions"), 1, _T("Last Server UTF8"), 1 |
511 | 511 | }; |
512 | 512 | |
513 | 513 | void COptions::SetOption(int nOptionID,int value) |
diff -Nur source/Options.h source.patch/Options.h
old
|
new
|
|
52 | 52 | |
53 | 53 | #include "misc\MarkupSTL.h" |
54 | 54 | |
55 | | #define OPTIONS_NUM 115 |
| 55 | #define OPTIONS_NUM 116 |
56 | 56 | |
57 | 57 | ///////////////////////////////////////////////////////////////////////////// |
58 | 58 | // Dialogfeld COptions |
… |
… |
|
280 | 280 | #define OPTION_ENABLE_IPV6 113 |
281 | 281 | #define OPTION_LOGTIMESTAMPS 114 |
282 | 282 | #define OPTION_VMSALLREVISIONS 115 |
| 283 | #define OPTION_LASTSERVERUTF8 116 |
283 | 284 | |
284 | 285 | //{{AFX_INSERT_LOCATION}} |
285 | 286 | // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein. |