mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-29 01:52:48 +00:00
0.9.59 alpha version: crash on logout fixed.
This commit is contained in:
parent
26723fb820
commit
5b7a17e044
@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,9,58,0
|
||||
PRODUCTVERSION 0,9,58,0
|
||||
FILEVERSION 0,9,59,0
|
||||
PRODUCTVERSION 0,9,59,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@ -51,10 +51,10 @@ BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileVersion", "0.9.58.0"
|
||||
VALUE "FileVersion", "0.9.59.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2016"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "0.9.58.0"
|
||||
VALUE "ProductVersion", "0.9.59.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,9,58,0
|
||||
PRODUCTVERSION 0,9,58,0
|
||||
FILEVERSION 0,9,59,0
|
||||
PRODUCTVERSION 0,9,59,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@ -43,10 +43,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||
VALUE "FileDescription", "Telegram Updater"
|
||||
VALUE "FileVersion", "0.9.58.0"
|
||||
VALUE "FileVersion", "0.9.59.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2016"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "0.9.58.0"
|
||||
VALUE "ProductVersion", "0.9.59.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
@ -24,7 +24,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||
|
||||
#define BETA_VERSION_MACRO (0ULL)
|
||||
|
||||
constexpr int AppVersion = 9058;
|
||||
constexpr str_const AppVersionStr = "0.9.58";
|
||||
constexpr int AppVersion = 9059;
|
||||
constexpr str_const AppVersionStr = "0.9.59";
|
||||
constexpr bool AppAlphaVersion = true;
|
||||
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;
|
||||
|
@ -357,7 +357,13 @@ void AudioPlayer::onStopped(const AudioMsgId &audio) {
|
||||
}
|
||||
|
||||
AudioPlayer::AudioMsg *AudioPlayer::dataForType(AudioMsgId::Type type, int index) {
|
||||
if (index < 0) index = *currentIndex(type);
|
||||
if (index < 0) {
|
||||
if (auto indexPtr = currentIndex(type)) {
|
||||
index = *indexPtr;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
switch (type) {
|
||||
case AudioMsgId::Type::Voice: return &_audioData[index];
|
||||
case AudioMsgId::Type::Song: return &_songData[index];
|
||||
|
@ -2531,7 +2531,7 @@
|
||||
SDKROOT = macosx;
|
||||
SYMROOT = ./../Mac;
|
||||
TDESKTOP_MAJOR_VERSION = 0.9;
|
||||
TDESKTOP_VERSION = 0.9.58;
|
||||
TDESKTOP_VERSION = 0.9.59;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
@ -2672,7 +2672,7 @@
|
||||
SDKROOT = macosx;
|
||||
SYMROOT = ./../Mac;
|
||||
TDESKTOP_MAJOR_VERSION = 0.9;
|
||||
TDESKTOP_VERSION = 0.9.58;
|
||||
TDESKTOP_VERSION = 0.9.59;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
AppVersion 9058
|
||||
AppVersion 9059
|
||||
AppVersionStrMajor 0.9
|
||||
AppVersionStrSmall 0.9.58
|
||||
AppVersionStr 0.9.58
|
||||
AppVersionStrSmall 0.9.59
|
||||
AppVersionStr 0.9.59
|
||||
AlphaChannel 1
|
||||
BetaVersion 0
|
||||
|
Loading…
Reference in New Issue
Block a user