From 7e822f45eccd034e7acd8d868ce5dc8c55458ff0 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 4 Jun 2016 19:16:08 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16916 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/AimOscar/src/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/AimOscar/src/file.cpp b/protocols/AimOscar/src/file.cpp index aaf531eb22..8774998b51 100644 --- a/protocols/AimOscar/src/file.cpp +++ b/protocols/AimOscar/src/file.cpp @@ -125,8 +125,8 @@ bool setup_next_file_send(file_transfer *ft) T2Utf fname(file); if (ft->pfts.totalFiles > 1 && ft->file[0]) { size_t dlen = mir_strlen(ft->file); - if (strncmp(fname, ft->file, dlen) == 0 && fname[dlen] == '\\') { - fnamea = &fname[dlen + 1]; + if (strncmp(fname, ft->file, dlen) == 0 && fname.get()[dlen] == '\\') { + fnamea = &fname.get()[dlen + 1]; for (char *p = fnamea; *p; ++p) if (*p == '\\') *p = 1; -- cgit v1.2.3