diff options
-rw-r--r-- | src/mir_app/src/proto_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_utils.cpp b/src/mir_app/src/proto_utils.cpp index 6ba435414e..101907b263 100644 --- a/src/mir_app/src/proto_utils.cpp +++ b/src/mir_app/src/proto_utils.cpp @@ -251,7 +251,7 @@ static wchar_t *wszMimeTypes[] = MIR_APP_DLL(const wchar_t*) ProtoGetAvatarMimeType(int iFileType)
{
- if (iFileType >= 0 && iFileType <= _countof(wszMimeTypes))
+ if (iFileType >= 0 && iFileType < _countof(wszMimeTypes))
return wszMimeTypes[iFileType];
return NULL;
}
|