Permalink
Browse files

rename _ExitTxtCmd -> kExitTxtCmd (#1)

* Update browser.cpp

* Update edittext.cpp

* Update edittext.h
  • Loading branch information...
Sedictious committed Aug 17, 2018
1 parent f7b1d17 commit 496839898e295c61ac2d1392ee8085a61f8b9399
Showing with 4 additions and 4 deletions.
  1. +1 −1 gui/browser.cpp
  2. +2 −2 gui/widgets/edittext.cpp
  3. +1 −1 gui/widgets/edittext.h
@@ -95,7 +95,7 @@ void BrowserDialog::open() {
void BrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
switch (cmd) {
//Search for typed-in directory
case _ExitTxtCmd:
case kExitTxtCmd:
_node = Common::FSNode(_currentPath->getEditString());
updateListing();
break;
@@ -132,7 +132,7 @@ void EditTextWidget::startEditMode() {
void EditTextWidget::endEditMode() {
releaseFocus();

sendCommand(_ExitTxtCmd, 0);
sendCommand(kExitTxtCmd, 0);
sendCommand(_finishCmd, 0);
}

@@ -143,7 +143,7 @@ void EditTextWidget::abortEditMode() {
releaseFocus();
}

Common::String EditTextWidget::getEditString(){
Common::String EditTextWidget::getEditString() {
return _backupString;
}

@@ -30,7 +30,7 @@
namespace GUI {

enum {
_ExitTxtCmd = 'TXTE'
kExitTxtCmd = 'TXTE'
};

/* EditTextWidget */

0 comments on commit 4968398

Please sign in to comment.