Skip to content

Commit de40c89

Browse files
committed
- fix some message window output regarding UTF8 support and clarity of profile name
1 parent ed4b8c3 commit de40c89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Windows/FTPWindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ int FTPWindow::OnEvent(QueueOperation * queueOp, int code, void * data, bool isS
12771277
m_connecting = isStart;
12781278
if (isStart) {
12791279
SetInfo(TEXT("Connecting"));
1280-
OutMsg("[FTPWindow] Connecting to %S...", m_ftpSession->GetCurrentProfile()->GetName());
1280+
OutMsg("[FTPWindow] Connecting to profile: %T...", m_ftpSession->GetCurrentProfile()->GetName());
12811281
} else {
12821282
if (queueOp->GetResult() != -1) {
12831283
OnConnect(code);
@@ -1321,7 +1321,7 @@ int FTPWindow::OnEvent(QueueOperation * queueOp, int code, void * data, bool isS
13211321
//break commented: even if failed, update the treeview etc., count should result in 0 anyway
13221322
//break; //failure
13231323
}
1324-
OutMsg("[FTPWindow] Loaded directory %s", dirop->GetDirPath());
1324+
OutMsg("[FTPWindow] Loaded directory %T", SU::Utf8ToTChar(dirop->GetDirPath()));
13251325

13261326
FTPFile* files = (FTPFile*)queueData;
13271327
int count = dirop->GetFileCount();

0 commit comments

Comments
 (0)