Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7455 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Apr 29, 2006, 10:38:12 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed a SegFault (that this worked before is some wonder :)

Location:
trunk/src/lib/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_input.cc

    r7452 r7455  
    4646  */
    4747  ShellInput::ShellInput ()
    48       : Text ("")
    49   {
     48      : MultiLineText ("")
     49  {
     50    this->setLineWidth(100);
     51
    5052    this->pressedKey = SDLK_FIRST;
    5153    this->setClassID(CL_SHELL_INPUT, "ShellInput");
  • trunk/src/lib/shell/shell_input.h

    r7452 r7455  
    1010#define _SHELL_INPUT_H
    1111
    12 #include "text.h"
     12#include "multi_line_text.h"
    1313#include "event_listener.h"
    1414#include "shell_completion.h"
     
    2828   * [UP] and [DOWN] move through the history of allready given commands.
    2929   */
    30   class ShellInput : public Text,  public EventListener
     30  class ShellInput : public MultiLineText,  public EventListener
    3131  {
    3232
Note: See TracChangeset for help on using the changeset viewer.