X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=main.c;h=fd34c928fd861b8f13023057cacedf6e2a41d23f;hb=5778b6ffb60296c5081fda4aa62bd566add98d0e;hp=6a77d63a83c01fd70b7de518261ee6cc89b3cfe7;hpb=edbe8f54cb92d547ee056fc48871ca0f09f04dfc;p=xonotic%2Fgmqcc.git diff --git a/main.c b/main.c index 6a77d63..fd34c92 100644 --- a/main.c +++ b/main.c @@ -1,6 +1,7 @@ /* * Copyright (C) 2012 * Dale Weiler + * Wolfgang Bumiller * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in @@ -220,9 +221,11 @@ static bool options_parse(int argc, char **argv) { continue; } if (options_long_gcc("redirout", &argc, &argv, &redirout)) { + con_change(redirout, redirerr); continue; } if (options_long_gcc("redirerr", &argc, &argv, &redirerr)) { + con_change(redirout, redirerr); continue; } @@ -382,7 +385,6 @@ static bool options_parse(int argc, char **argv) { vec_push(items, item); } } - con_change(redirout, redirerr); return true; }