Commit 966d616b authored by Matt Mascarenhas's avatar Matt Mascarenhas

cinera.c: Set CollationBuffers.Theme

parent 0eeadd56
...@@ -16,7 +16,7 @@ typedef struct ...@@ -16,7 +16,7 @@ typedef struct
version CINERA_APP_VERSION = { version CINERA_APP_VERSION = {
.Major = 0, .Major = 0,
.Minor = 5, .Minor = 5,
.Patch = 58 .Patch = 59
}; };
// TODO(matt): Copy in the DB 3 stuff from cinera_working.c // TODO(matt): Copy in the DB 3 stuff from cinera_working.c
...@@ -6490,8 +6490,9 @@ main(int ArgC, char **Args) ...@@ -6490,8 +6490,9 @@ main(int ArgC, char **Args)
CopyStringNoFormat(CollationBuffers.ProjectID, sizeof(CollationBuffers.ProjectID), Config.ProjectID); CopyStringNoFormat(CollationBuffers.ProjectID, sizeof(CollationBuffers.ProjectID), Config.ProjectID);
if(!StringsDiffer(Config.Theme, "")) if(!StringsDiffer(Config.Theme, ""))
{ {
CopyStringNoFormat(CollationBuffers.Theme, sizeof(CollationBuffers.Theme), Config.ProjectID); CopyStringNoFormat(Config.Theme, sizeof(Config.Theme), Config.ProjectID);
} }
CopyStringNoFormat(CollationBuffers.Theme, sizeof(CollationBuffers.Theme), Config.Theme);
if(StringsDiffer(ProjectInfo[ProjectInfoIndex].FullName, "")) if(StringsDiffer(ProjectInfo[ProjectInfoIndex].FullName, ""))
{ {
CopyStringNoFormat(CollationBuffers.ProjectName, sizeof(CollationBuffers.ProjectName), ProjectInfo[ProjectInfoIndex].FullName); CopyStringNoFormat(CollationBuffers.ProjectName, sizeof(CollationBuffers.ProjectName), ProjectInfo[ProjectInfoIndex].FullName);
...@@ -6656,7 +6657,7 @@ main(int ArgC, char **Args) ...@@ -6656,7 +6657,7 @@ main(int ArgC, char **Args)
Config.ProjectID, Config.ProjectID,
Config.DefaultMedium, Config.DefaultMedium,
StringsDiffer(Config.Theme, "") ? Config.Theme: Config.ProjectID, Config.Theme,
Config.ProjectDir, Config.ProjectDir,
Config.TemplatesDir, Config.TemplatesDir,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment