From a0552c1f31ad102d81a2846c8ca43dfe4677f74b Mon Sep 17 00:00:00 2001 From: cerevisiae Date: Wed, 1 Dec 2010 21:29:50 -0600 Subject: [PATCH] Comments added to charLength function --- vMinecraftChat.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vMinecraftChat.java b/vMinecraftChat.java index 483bda1e9..9fc79c175 100644 --- a/vMinecraftChat.java +++ b/vMinecraftChat.java @@ -132,6 +132,12 @@ public class vMinecraftChat { return output; } + //===================================================================== + //Function: charLength + //Input: char x: The character to find the length of. + //Output: int: The length of the character + //Use: Finds the visual length of the character on the screen. + //===================================================================== private static int charLength(char x) { if("i;,.:|!".indexOf(x) != -1)