mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Merge pull request #4516 from OmrSi/toggle-casing
Don't try to convert casing if the language is case-insensitive
This commit is contained in:
commit
fe051f8785
@ -9578,7 +9578,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private string ToggleCasing(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(text))
|
||||
if (string.IsNullOrWhiteSpace(text) || text.ToLower() == text.ToUpper())
|
||||
{
|
||||
return text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user