Fixed indents in some files.

This commit is contained in:
23rd 2023-11-30 21:58:32 +03:00 committed by John Preston
parent 3adbfb1fb5
commit 88b20f6700
34 changed files with 50 additions and 48 deletions

View file

@ -537,7 +537,8 @@ HANDLE _generateDumpFileAtPath(const WCHAR *path) {
GetLocalTime(&stLocalTime);
wsprintf(szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
wsprintf(
szFileName, L"%s%s-%s-%04d%02d%02d-%02d%02d%02d-%ld-%ld.dmp",
szPath, szExeName, updaterVersionStr,
stLocalTime.wYear, stLocalTime.wMonth, stLocalTime.wDay,
stLocalTime.wHour, stLocalTime.wMinute, stLocalTime.wSecond,

View file

@ -182,7 +182,7 @@ void ClosePlaybackDevice(not_null<Instance*> instance) {
} // namespace
// Thread: Main.
// Thread: Main.
void Start(not_null<Instance*> instance) {
Assert(AudioDevice == nullptr);

View file

@ -143,7 +143,7 @@ Sibling::LoaderVideo::LoaderVideo(
Fn<void()> update)
: _video(video)
, _origin(origin)
, _update(std::move( update))
, _update(std::move(update))
, _media(_video->createMediaView()) {
_media->goodThumbnailWanted();
}

View file

@ -306,7 +306,8 @@ void objc_start() {
_sharedDelegate = [[ApplicationDelegate alloc] init];
[[NSApplication sharedApplication] setDelegate:_sharedDelegate];
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver: _sharedDelegate
[[[NSWorkspace sharedWorkspace] notificationCenter]
addObserver: _sharedDelegate
selector: @selector(receiveWakeNote:)
name: NSWorkspaceDidWakeNotification object: NULL];
}

View file

@ -172,7 +172,7 @@ EditFlagsDescriptor<PowerSaving::Flags> PowerSavingLabels() {
{ tr::lng_settings_power_emoji(), std::move(emoji) },
{ tr::lng_settings_power_chat(), std::move(chat) },
{ std::nullopt, std::move(calls) },
{ std::nullopt, std::move(animations), },
{ std::nullopt, std::move(animations) },
}, .st = &st::powerSavingButton };
}