diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 19:30:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 19:30:41 +0000 |
commit | 026061ba423025e6713112920f290759cdee03c4 (patch) | |
tree | 0e557363849e4d5c1320820fcf175bc1ec9690ab /media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch | |
parent | 479921825a5c44a5fbcd5441f00ee98e54db9bac (diff) |
gentoo auto-resync : 25:12:2023 - 19:30:41
Diffstat (limited to 'media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch')
-rw-r--r-- | media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch deleted file mode 100644 index 4502d7254f9b..000000000000 --- a/media-video/subtitlecomposer/files/subtitlecomposer-0.7.1-subtitle-crashfix.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 09e5d80286276d4683c944dfa0cddda3479006c0 Mon Sep 17 00:00:00 2001 -From: Mladen Milinkovic <maxrd2@smoothware.net> -Date: Thu, 19 Jan 2023 18:39:31 +0100 -Subject: [PATCH] Subtitle: fixed crash in splitLines() - ---- - src/core/subtitle.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/subtitle.cpp b/src/core/subtitle.cpp -index d3da532d..3359062e 100644 ---- a/src/core/subtitle.cpp -+++ b/src/core/subtitle.cpp -@@ -541,7 +541,7 @@ Subtitle::splitLines(const RangeList &ranges) - c->insertText(QString(QChar::LineFeed)); - return true; - } -- if(text.at(j) == QChar::Space) { -+ if(j < len && text.at(j) == QChar::Space) { - c->movePosition(QTextCursor::Start); - c->movePosition(QTextCursor::NextCharacter, QTextCursor::MoveAnchor, j); - c->movePosition(QTextCursor::NextCharacter, QTextCursor::KeepAnchor); --- -GitLab - |