diff options
author | Matteo Bernardini | 2018-06-09 09:46:04 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-06-09 09:46:04 +0200 |
commit | c18f81605673c2bc77b734c7ad42c181f65a086b (patch) | |
tree | b5c481edee49d22658d07c630d8481ca16f5f653 /games/speed-dreams/speed-dreams-params-conversion.patch | |
parent | 81c344443219574587ae3d6bccb8f19c1bd346af (diff) | |
download | old.slackbuilds-current.tar.gz |
20180609.1 global branch merge.current-20180609.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/speed-dreams/speed-dreams-params-conversion.patch')
-rw-r--r-- | games/speed-dreams/speed-dreams-params-conversion.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/speed-dreams/speed-dreams-params-conversion.patch b/games/speed-dreams/speed-dreams-params-conversion.patch new file mode 100644 index 0000000000..16bd19d2f7 --- /dev/null +++ b/games/speed-dreams/speed-dreams-params-conversion.patch @@ -0,0 +1,22 @@ +--- src/libs/tgf/params.cpp.orig 2017-02-14 10:32:38.701066427 +0100 ++++ src/libs/tgf/params.cpp 2017-02-14 10:33:19.425879383 +0100 +@@ -3809,7 +3809,7 @@ + if( lastSlash != NULL && key ) + { + *key = lastSlash + 1; +- lastSlash = '\0'; ++ lastSlash = NULL; + } + else if( key ) + { +--- src/libs/tgfclient/openalmusicplayer.cpp.orig 2017-02-14 13:14:10.870735828 +0100 ++++ src/libs/tgfclient/openalmusicplayer.cpp 2017-02-14 13:15:11.592684153 +0100 +@@ -171,7 +171,7 @@ + { + char pcm[BUFFERSIZE]; + int size = 0; +- const char* error = '\0'; ++ const char* error = NULL; + + if (!_stream->read(pcm, BUFFERSIZE, &size, error)) { + GfLogError("OpenALMusicPlayer: Stream read error: %s\n", error); |