Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 19, 2015
1 parent b5f42d7 commit c62ff51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doomsday/apps/client/src/ui/bindcontext.cpp
Expand Up @@ -321,8 +321,8 @@ Record *BindContext::bindCommand(char const *eventDesc, char const *command)
bind.configure(eventDesc, command); // Assign a new unique identifier.
d->commandBinds.prepend(newBind.release());

LOG_INPUT_VERBOSE("Command " _E(b) "\"%s\"" _E(.) " now bound to " _E(b) "\"%s\"" _E(.) " in " _E(b) "'%s'" _E(.)
" with binding Id " _E(b) "%i")
LOG_INPUT_VERBOSE("Command " _E(b) "\"%s\"" _E(.) " now bound to "
_E(b) "\"%s\"" _E(.) " in " _E(b) "'%s'" _E(.) " (id %i)")
<< command << bind.composeDescriptor() << d->name << bind.geti("id");

/// @todo: In interactive binding mode, should ask the user if the
Expand Down Expand Up @@ -353,7 +353,7 @@ Record *BindContext::bindImpulse(char const *ctrlDesc, PlayerImpulse const &impu
d->impulseBinds[localPlayer].append(newBind.release());

LOG_INPUT_VERBOSE("Impulse " _E(b) "'%s'" _E(.) " of player%i now bound to \"%s\" in " _E(b) "'%s'" _E(.)
" with binding Id " _E(b) "%i")
" (id %i)")
<< impulse.name << (localPlayer + 1) << bind.composeDescriptor() << d->name << bind.geti("id");

/// @todo: In interactive binding mode, should ask the user if the
Expand Down
3 changes: 2 additions & 1 deletion doomsday/sdk/libcore/src/core/monospacelogsinkformatter.cpp
Expand Up @@ -345,8 +345,9 @@ QList<String> MonospaceLogSinkFormatter::logEntryToTextLines(LogEntry const &ent
}

// The wrap indent for this paragraph depends on the first line's content.
bool const lineStartsWithSpace = lineText.isEmpty() || lineText[0].isSpace();
int firstNonSpace = -1;
if(nextWrapIndent < 0 && !lineText.isEmpty() && !lineText[0].isSpace())
if(nextWrapIndent < 0 && !lineStartsWithSpace)
{
int w = _minimumIndent;
int firstBracket = -1;
Expand Down

0 comments on commit c62ff51

Please sign in to comment.