diff options
author | Edinaldo P.Silva <edps.mundognu@gmail.com> | 2019-10-05 05:50:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-05 05:50:09 +0700 |
commit | 0cf8b42f069ce7f62e6b23462ca8d935f5535d99 (patch) | |
tree | f0c675ede5be9354319941634f1549c41b44258f /desktop/gmrun/patches/40-history_string.patch | |
parent | cf4918cea4979181c88f42b94ca2d556a032d459 (diff) | |
download | slackbuilds-0cf8b42f069ce7f62e6b23462ca8d935f5535d99.tar.gz |
desktop/gmrun: Updated for version 0.9.5w.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gmrun/patches/40-history_string.patch')
-rw-r--r-- | desktop/gmrun/patches/40-history_string.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/desktop/gmrun/patches/40-history_string.patch b/desktop/gmrun/patches/40-history_string.patch deleted file mode 100644 index ecfe1d303b..0000000000 --- a/desktop/gmrun/patches/40-history_string.patch +++ /dev/null @@ -1,28 +0,0 @@ -# Description: Handle more than 256 characters in the history -# Author: <bdefreese@bddebian3.bddebian.com> - -Index: gmrun-0.9.2/src/history.cc -=================================================================== ---- gmrun-0.9.2.orig/src/history.cc 2010-02-03 12:32:18.519767950 +0800 -+++ gmrun-0.9.2/src/history.cc 2010-02-03 12:32:43.586035039 +0800 -@@ -41,15 +41,14 @@ - ifstream f(filename); - if (!f) return; - -+ string line_text; -+ - while (!f.eof()) { -- char line_text[256]; - string line_str; - -- f.getline(line_text, sizeof(line_text)); -- if (*line_text) { -- line_str = line_text; -- history.push_back(line_str); -- } -+ getline(f,line_text); -+ line_str = line_text; -+ history.push_back(line_str); - } - - m_file_entries = history.size(); |