diff --git a/desktop_version/src/Textbox.cpp b/desktop_version/src/Textbox.cpp index ba65e54c..092aa997 100644 --- a/desktop_version/src/Textbox.cpp +++ b/desktop_version/src/Textbox.cpp @@ -6,7 +6,6 @@ textboxclass::textboxclass(void) { w = 0; h = 0; - lw = 0; tl = 0; prev_tl = 0; tm = 0; @@ -117,7 +116,6 @@ void textboxclass::resize(void) if (len > (unsigned int)max) max = len; } - lw = max; w = (max +2) * 8; h = (line.size() + 2) * 8; } diff --git a/desktop_version/src/Textbox.h b/desktop_version/src/Textbox.h index 641b7f8b..04aed5b4 100644 --- a/desktop_version/src/Textbox.h +++ b/desktop_version/src/Textbox.h @@ -32,7 +32,7 @@ public: public: //Fundamentals std::vector line; - int xp, yp, lw, w, h; + int xp, yp, w, h; int r,g,b; int tr,tg,tb; int timer;