Parent Directory
|
Revision Log
|
Patch
revision 170 by twoaday, Mon Jan 30 12:42:57 2006 UTC | revision 174 by twoaday, Thu Feb 2 08:20:50 2006 UTC | |
---|---|---|
# | Line 79 ownertrust_to_string (int val, bool is_k | Line 79 ownertrust_to_string (int val, bool is_k |
79 | static const char* | static const char* |
80 | get_photo_tmpname (HWND dlg) | get_photo_tmpname (HWND dlg) |
81 | { | { |
82 | static char buf[64]; | static char buf[MAX_PATH+128+1]; |
83 | char name[64]; | |
84 | ||
85 | _snprintf (name, sizeof (name)-1, "winpt_photo_%08lX.tmp", (DWORD)dlg); | |
86 | GetTempPath (sizeof (buf)-128, buf); | |
87 | strcat (buf, name); | |
88 | ||
_snprintf (buf, sizeof (buf)-1, "winpt_photo_%08lX.tmp", (DWORD)dlg); | ||
89 | return buf; | return buf; |
90 | } | } |
91 |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |