Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gnudles committed Apr 2, 2017
1 parent 4fb6ce2 commit d6fb8b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 2 additions & 0 deletions FormulaGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ FormulaGen::FormulaGen(QWidget *parent) :
{
ui->setupUi(this);
setBasicImageParent(this);
setSaveTitle("Formula Depth Image");
setFolderSettings("depthmaps");
}

FormulaGen::~FormulaGen()
Expand Down
16 changes: 1 addition & 15 deletions parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,7 @@ void skip_spaces(const char* buffer, int *offset)
(*offset)++;
}
}
void next_token(const char* buffer, int *offset)
{
while (is_whitespace(buffer[*offset]))
{
(*offset)++;
}
}
int token_length(const char* buffer, int offset)
{
while (is_whitespace(buffer[offset]))
{
(offset)++;
}
return 0;
}


#ifdef USE_MPFR
void parse_level1(const char* buffer, int *offset, mpfr_t res, mpfr_t* values) //addition and subtraction
Expand Down

0 comments on commit d6fb8b9

Please sign in to comment.