File: FIXPAL.C | Size: 862 bytes | Download file | Back to directory listing | BWPOW's homepage
/*********************************************/
/* FixPal 2.9                                 */
/* Copyright (c) Marian Dvorsky              */
/* See FixPal.Txt for details                */
/*********************************************/
 
#include "fixpal.h"
 
/* Don't use wildcard globbing */
char **__crt0_glob_function(char *_argument)
{
  return(NULL);
}
 
/* Main program of this util */
int main(int argc, char *argv[])
{
  printf("FixPal Version 2.9. Copyright (c) 1998,99 Marian Dvorsky\n");
  install_keyboard();
  /* If there aren't enough parameters, write syntax and exit */
  if (argc < 2){
    write_syntax_fix();
    exit(255);
  }
  /* EditPal module */
  if (strcmp(argv[1], "e") == 0)
    editpal(argc,argv);
  /* FixPal module */
  else
    fixpal(argc,argv);
 
  printf("\nThanx for using\n");
  exit(0);
}