[Android] DebugLogs: Don't append inside an append

Jean-Baptiste Kempf git at videolan.org
Sat May 23 19:09:12 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 18:12:53 2015 +0200| [184fa36254d47c97ab83cf12220ccbcd973d7363] | committer: Jean-Baptiste Kempf

DebugLogs: Don't append inside an append

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=184fa36254d47c97ab83cf12220ccbcd973d7363
---

 vlc-android/src/org/videolan/vlc/gui/DebugLogActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/DebugLogActivity.java b/vlc-android/src/org/videolan/vlc/gui/DebugLogActivity.java
index abb23d2..b36ff4e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/DebugLogActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/DebugLogActivity.java
@@ -127,7 +127,7 @@ public class DebugLogActivity extends Activity implements DebugLogService.Client
         public void onClick(View v) {
             final StringBuffer buffer = new StringBuffer();
             for (String line : mLogList)
-                buffer.append(line+"\n");
+                buffer.append(line).append("\n");
 
             android.text.ClipboardManager clipboard = (android.text.ClipboardManager)VLCApplication.getAppContext().getSystemService(CLIPBOARD_SERVICE);
             clipboard.setText(buffer);



More information about the Android mailing list