Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Nov 19, 2024
1 parent f7af0ad commit 17373c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions client/src/xmltypeset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern SDLDevice *g_sdlDevice;
extern EmojiDB *g_emojiDB;
extern ClientArgParser *g_clientArgParser;

void XMLTypeset::SetTokenBoxWordSpace(int argLine)
void XMLTypeset::setTokenBoxWordSpace(int argLine)
{
if(!lineValid(argLine)){
throw fflerror("invalid line: %d", argLine);
Expand Down Expand Up @@ -347,11 +347,11 @@ void XMLTypeset::resetOneLine(int argLine, bool bCREnd)
}
}

SetLineTokenStartX(argLine);
SetLineTokenStartY(argLine);
setLineTokenStartX(argLine);
setLineTokenStartY(argLine);
}

void XMLTypeset::SetLineTokenStartX(int argLine)
void XMLTypeset::setLineTokenStartX(int argLine)
{
if(!lineValid(argLine)){
throw fflerror("invalid line: %d", argLine);
Expand Down Expand Up @@ -563,7 +563,7 @@ int XMLTypeset::LineNewStartY(int argLine)
return to_d((std::max<int>)(nCurrentY, LineReachMaxY(argLine - 1) + 1));
}

void XMLTypeset::SetLineTokenStartY(int argLine)
void XMLTypeset::setLineTokenStartY(int argLine)
{
if(!lineValid(argLine)){
throw fflerror("invalid line: %d", argLine);
Expand Down
6 changes: 3 additions & 3 deletions client/src/xmltypeset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ class XMLTypeset // means XMLParagraph typeset
bool addRawTokenLine(int, const std::vector<TOKEN> &);

private:
void SetTokenBoxWordSpace(int);
void setTokenBoxWordSpace(int);

private:
void SetLineTokenStartX(int);
void SetLineTokenStartY(int);
void setLineTokenStartX(int);
void setLineTokenStartY(int);

private:
int LineRawWidth(int, bool) const;
Expand Down

0 comments on commit 17373c3

Please sign in to comment.