Skip to content

Commit

Permalink
TOOL: Use a define for output name
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Apr 6, 2012
1 parent 58a67ed commit 7d03b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/create_mortdat/create_mortdat.cpp
Expand Up @@ -130,7 +130,7 @@ int main(int argc, char *argv[]) {
}

mortCom.open(argv[1], kFileReadMode);
openOutputFile("mort.dat");
openOutputFile(MORT_DAT);

process();

Expand Down
2 changes: 2 additions & 0 deletions devtools/create_mortdat/create_mortdat.h
Expand Up @@ -31,6 +31,8 @@ enum AccessMode {
kFileWriteMode = 2
};

#define MORT_DAT "mort.dat"

class File {
private:
FILE *f;
Expand Down

0 comments on commit 7d03b09

Please sign in to comment.