The R Project SVN R

Rev

Rev 33894 | Rev 35265 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33894 Rev 33901
Line 24... Line 24...
24
 
24
 
25
#ifdef HAVE_CONFIG_H
25
#ifdef HAVE_CONFIG_H
26
#include <config.h>
26
#include <config.h>
27
#endif
27
#endif
28
 
28
 
-
 
29
#include "win-nls.h"
-
 
30
 
29
#include <stdio.h>
31
#include <stdio.h>
30
#include "Defn.h"
32
#include "Defn.h"
31
#include "Fileio.h"
33
#include "Fileio.h"
32
#include <direct.h>
34
#include <direct.h>
33
#include <time.h>
35
#include <time.h>
34
#define _WIN32_WINNT 0x0500 /* for GetLongPathName */
36
#define _WIN32_WINNT 0x0500 /* for GetLongPathName */
35
#include <windows.h>
37
#include <windows.h>
36
#include "graphapp/ga.h"
38
#include "graphapp/ga.h"
37
#include "rui.h"
39
#include "rui.h"
38
 
40
 
-
 
41
 
39
char * R_tmpnam(const char * prefix, const char * tempdir)
42
char * R_tmpnam(const char * prefix, const char * tempdir)
40
{
43
{
41
    char tm[MAX_PATH], tmp1[MAX_PATH], *res;
44
    char tm[MAX_PATH], tmp1[MAX_PATH], *res;
42
    unsigned int n, done = 0;
45
    unsigned int n, done = 0;
43
    WIN32_FIND_DATA fd;
46
    WIN32_FIND_DATA fd;
Line 912... Line 915...
912
		if(strcmp(clist[i], CHAR(STRING_ELT(preselect, j))) == 0) {
915
		if(strcmp(clist[i], CHAR(STRING_ELT(preselect, j))) == 0) {
913
		    setlistitem(f_list, i);
916
		    setlistitem(f_list, i);
914
		    break;
917
		    break;
915
		}
918
		}
916
    }
919
    }
917
    bFinish = newbutton(_("OK"), rect(xmax-160, ymax-40, 70, 25), finish);
920
    bFinish = newbutton(G_("OK"), rect(xmax-160, ymax-40, 70, 25), finish);
918
    bCancel = newbutton(_("Cancel"), rect(xmax-80, ymax-40, 70, 25), cancel);
921
    bCancel = newbutton(G_("Cancel"), rect(xmax-80, ymax-40, 70, 25), cancel);
919
    setkeydown(wselect, key1);
922
    setkeydown(wselect, key1);
920
    show(wselect);
923
    show(wselect);
921
    done = 0;
924
    done = 0;
922
    while(!done) {
925
    while(!done) {
923
	Sleep(100);
926
	Sleep(100);