home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / xaes_new / windfix.c < prev    next >
C/C++ Source or Header  |  1994-10-22  |  584b  |  18 lines

  1. /********************************************************************
  2.  *                                                                0.01*
  3.  *    XAES: Fix window size according to enabled elements                *
  4.  *    by Ken Hollis                                                    *
  5.  *                                                                    *
  6.  *    Copyright (c) 1994, Bitgate Software.  All Rights Reserved.        *
  7.  *                                                                    *
  8.  *    ARGH!  Another two line routine!                                *
  9.  *                                                                    *
  10.  ********************************************************************/
  11.  
  12. #include "xaes.h"
  13.  
  14. GLOBAL void WFixWindow(WINDOW *win)
  15. {
  16.     if (win)
  17.         ChangeObjectText(win->wind, 17, (char *) win->title, 3, TE_CNTR);
  18. }