Correct typo in r5058 that set an initial value on key location. Add a some verbosity to KeyEvent debug statement.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5059 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java
index fe79ce1..3638463 100644
--- a/java/com/tigervnc/vncviewer/CConn.java
+++ b/java/com/tigervnc/vncviewer/CConn.java
@@ -1155,7 +1155,7 @@
   }
 
   public void writeKeyEvent(KeyEvent ev) {
-    int keysym = 0, keycode, key, location = 0;
+    int keysym = 0, keycode, key, location;
 
     if (shuttingDown)
       return;
@@ -1166,9 +1166,8 @@
     key = ev.getKeyChar();
     location = ev.getKeyLocation();
 
-    vlog.debug((ev.isActionKey() ? "action " : "") + "key " +
-               (down ? "press" : "release") + " code " + keycode +
-                " location " + location + " ASCII " + key);
+    String fmt = ev.paramString().replaceAll(",","%n       ");
+    vlog.debug(String.format(fmt));
 
     if (!ev.isActionKey()) {
       if (keycode >= KeyEvent.VK_0 && keycode <= KeyEvent.VK_9 &&