summaryrefslogtreecommitdiff
path: root/community/subtitleeditor
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /community/subtitleeditor
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'community/subtitleeditor')
-rw-r--r--community/subtitleeditor/fix-taking-address-of-temporary-error.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/community/subtitleeditor/fix-taking-address-of-temporary-error.patch b/community/subtitleeditor/fix-taking-address-of-temporary-error.patch
deleted file mode 100644
index a35746d62..000000000
--- a/community/subtitleeditor/fix-taking-address-of-temporary-error.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- trunk/plugins/subtitleformats/sami/sami.cc 2011/06/18 08:06:45 772
-+++ trunk/plugins/subtitleformats/sami/sami.cc 2011/07/02 13:01:33 777
-@@ -155,7 +155,7 @@
- int state = 0;
- Glib::ustring line;
- Glib::ustring text;
-- Subtitle* curSt;
-+ Subtitle curSt;
- char tmptext[MAXBUF+1] = "";
- char *p = NULL, *q = NULL;
- if (!file.getline(line))
-@@ -174,8 +174,8 @@
- start_sync = utility::string_to_int(inptr + 6);
-
- // Get a line from the current subtitle on memory
-- curSt = &subtitles.append();
-- curSt->set_start(start_sync);
-+ curSt = subtitles.append();
-+ curSt.set_start(start_sync);
-
- state = SAMI_STATE_SYNC_START;
- continue;
-@@ -239,14 +239,14 @@
- // Now we are sure that this line is the end sync.
-
- end_sync = utility::string_to_int(q + 6);
-- curSt->set_end(end_sync);
-+ curSt.set_end(end_sync);
-
- *p = '\0';
- trail_space(tmptext);
-
- // finalize the end sync of current line
- if (tmptext[0] != '\0')
-- curSt->set_text(tmptext);
-+ curSt.set_text(tmptext);
-
- // an important check if this is end sync.
- // Is there any delimiter "&nbsp;" in this line?
-@@ -276,14 +276,14 @@
- else
- {
- end_sync = SAMISYNC_MAXVAL;
-- curSt->set_end(end_sync);
-+ curSt.set_end(end_sync);
-
- *p = '\0';
- trail_space(tmptext);
-
- // finalize the end sync of current line
- if (tmptext[0] != '\0')
-- curSt->set_text(tmptext);
-+ curSt.set_text(tmptext);
-
- state = SAMI_STATE_FORCE_QUIT;
- break;