comparison libpurple/protocols/zephyr/ZLocations.c @ 15822:32c366eeeb99

sed -ie 's/gaim/purple/g'
author Sean Egan <seanegan@gmail.com>
date Mon, 19 Mar 2007 07:01:17 +0000
parents 5fe8042783c1
children f160b6e84d0c
comparison
equal deleted inserted replaced
15821:84b0f9b23ede 15822:32c366eeeb99
89 if ((display = getenv("DISPLAY")) && *display) { 89 if ((display = getenv("DISPLAY")) && *display) {
90 (void) strncpy(mytty, display, sizeof(mytty)); 90 (void) strncpy(mytty, display, sizeof(mytty));
91 } else { 91 } else {
92 #endif 92 #endif
93 #ifdef WIN32 93 #ifdef WIN32
94 strncpy(mytty, "WinGaim", sizeof(mytty)); 94 strncpy(mytty, "WinPurple", sizeof(mytty));
95 #else 95 #else
96 ttyp = ttyname(0); 96 ttyp = ttyname(0);
97 if (ttyp && *ttyp) { 97 if (ttyp && *ttyp) {
98 p = strchr(ttyp + 1, '/'); 98 p = strchr(ttyp + 1, '/');
99 strcpy(mytty, (p) ? p + 1 : ttyp); 99 strcpy(mytty, (p) ? p + 1 : ttyp);