summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-22 14:31:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-22 14:31:13 +0300
commit0470de0e450b7623254967593fb524db781c44e2 (patch)
tree6f4897a43531dcde8d2cebedda8bc21ad0034da4 /src/app.c
parent2c1d95177059c0486fca98ad1d43cdc0df7c5552 (diff)
Cleanup
Very minor memory leaks.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index b6a73c55..36930697 100644
--- a/src/app.c
+++ b/src/app.c
@@ -798,8 +798,8 @@ static void init_App_(iApp *d, int argc, char **argv) {
798 init_SortedArray(&d->tickers, sizeof(iTicker), cmp_Ticker_); 798 init_SortedArray(&d->tickers, sizeof(iTicker), cmp_Ticker_);
799 d->lastTickerTime = SDL_GetTicks(); 799 d->lastTickerTime = SDL_GetTicks();
800 d->elapsedSinceLastTicker = 0; 800 d->elapsedSinceLastTicker = 0;
801 d->commandEcho = checkArgument_CommandLine(&d->args, "echo;E") != NULL; 801 d->commandEcho = iClob(checkArgument_CommandLine(&d->args, "echo;E")) != NULL;
802 d->forceSoftwareRender = checkArgument_CommandLine(&d->args, "sw") != NULL; 802 d->forceSoftwareRender = iClob(checkArgument_CommandLine(&d->args, "sw")) != NULL;
803 d->initialWindowRect = init_Rect(-1, -1, 900, 560); 803 d->initialWindowRect = init_Rect(-1, -1, 900, 560);
804#if defined (iPlatformMsys) 804#if defined (iPlatformMsys)
805 /* Must scale by UI scaling factor. */ 805 /* Must scale by UI scaling factor. */