diff --git a/aegisub/src/audio_player_portaudio.cpp b/aegisub/src/audio_player_portaudio.cpp index e10663ce9..1db7ea6b2 100644 --- a/aegisub/src/audio_player_portaudio.cpp +++ b/aegisub/src/audio_player_portaudio.cpp @@ -78,7 +78,7 @@ PortAudioPlayer::PortAudioPlayer() PaError err = Pa_Initialize(); if (err != paNoError) - throw PortAudioError(std::string("Failed opening PortAudio:") + Pa_GetErrorText(err), 0); + throw PortAudioError(std::string("Failed opening PortAudio: ") + Pa_GetErrorText(err), 0); // Build a list of host API-specific devices we can use // Some host APIs may not support all audio formats, so build a priority diff --git a/aegisub/src/video_provider_ffmpegsource.cpp b/aegisub/src/video_provider_ffmpegsource.cpp index ea53438e9..09ef040fe 100644 --- a/aegisub/src/video_provider_ffmpegsource.cpp +++ b/aegisub/src/video_provider_ffmpegsource.cpp @@ -242,7 +242,7 @@ const AegiVideoFrame FFmpegSourceVideoProvider::GetFrame(int n) { // decode frame const FFMS_Frame *SrcFrame = FFMS_GetFrame(VideoSource, FrameNumber, &ErrInfo); if (SrcFrame == NULL) { - throw VideoDecodeError(std::string("Failed to retrieve frame:") + ErrInfo.Buffer); + throw VideoDecodeError(std::string("Failed to retrieve frame: ") + ErrInfo.Buffer); } CurFrame.SetTo(SrcFrame->Data[0], Width, Height, SrcFrame->Linesize[0]);