Fix tabs vs spaces.

This commit is contained in:
Ryan C. Gordon 2017-05-31 01:04:17 -04:00
parent 02b116aae0
commit cf5dd87f57
1 changed files with 7 additions and 7 deletions

View File

@ -670,9 +670,9 @@ int main( int argc, char **argv )
#ifdef USE_AUTOUPDATER #ifdef USE_AUTOUPDATER
{ {
#ifndef AUTOUPDATER_BIN #ifndef AUTOUPDATER_BIN
#error The build system should have defined AUTOUPDATER_BIN #error The build system should have defined AUTOUPDATER_BIN
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
{ {
@ -707,9 +707,9 @@ int main( int argc, char **argv )
if (ptr) if (ptr)
*ptr = '\0'; *ptr = '\0';
chdir(argv[0]); chdir(argv[0]);
#ifdef __APPLE__ #ifdef __APPLE__
chdir("../.."); /* put this at base of app bundle so paths make sense later. */ chdir("../.."); /* put this at base of app bundle so paths make sense later. */
#endif #endif
snprintf(pidstr, sizeof (pidstr), "%lld", (long long) getppid()); snprintf(pidstr, sizeof (pidstr), "%lld", (long long) getppid());
execl(AUTOUPDATER_BIN, AUTOUPDATER_BIN, "--waitpid", pidstr, NULL); execl(AUTOUPDATER_BIN, AUTOUPDATER_BIN, "--waitpid", pidstr, NULL);
} }
@ -721,7 +721,7 @@ int main( int argc, char **argv )
close(updater_pipes[0]); close(updater_pipes[0]);
} }
} }
#endif #endif
} }
#endif #endif