]> git.saurik.com Git - cycript.git/blobdiff - Display.cpp
After a window resize, calculate offset, not end.
[cycript.git] / Display.cpp
index fbca8df2faeb7485594854b3abddc883a560b02f..5e45c458a16f91c574ce77954024039304ab8323 100644 (file)
@@ -127,7 +127,7 @@ void CYDisplayUpdate() {
     if (width_ != width) {
         current_ = CYCursor();
         CYDisplayOutput(NULL, width, prompt);
-        CYDisplayOutput(NULL, width, buffer, point_);
+        current_ = CYDisplayOutput(NULL, width, buffer, point_);
     }
 
     CYDisplayMove(CYCursor());