Kaynağa Gözat

obs-text: Fix formatting

jp9000 6 yıl önce
ebeveyn
işleme
d6b551c9d3
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      plugins/obs-text/gdiplus/obs-text.cpp

+ 2 - 2
plugins/obs-text/gdiplus/obs-text.cpp

@@ -657,9 +657,9 @@ void TextSource::LoadFileText()
 
 void TextSource::TransformText()
 {
-	if(text_transform == S_TRANSFORM_UPPERCASE)
+	if (text_transform == S_TRANSFORM_UPPERCASE)
 		transform(text.begin(), text.end(), text.begin(), towupper);
-	else if(text_transform == S_TRANSFORM_LOWERCASE)
+	else if (text_transform == S_TRANSFORM_LOWERCASE)
 		transform(text.begin(), text.end(), text.begin(), towlower);
 }