Ignore:
Timestamp:
Nov 11, 2006, 9:39:04 AM (15 years ago)
Author:
Eugene Romanenko
Message:

Writes into EA thumbnail of first page of document

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/luutils.cpp

    r133 r153  
    4242#include <string.h>
    4343#include <strstrea.h>
     44#include <stdlib.h>
    4445#include <string>
    4546
     
    507508    return z;
    508509}
     510
     511char *getTmpDir( char *buf )
     512{
     513    char *tmpenv = getenv( "TMP" );
     514    strcpy( buf, ( tmpenv == NULL ) ? ".\\" : tmpenv );
     515    if ( buf[ strlen( buf ) - 1 ] != '\\' ) {
     516        strcat( buf, "\\" );
     517    }
     518    return buf;
     519}
Note: See TracChangeset for help on using the changeset viewer.