diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-11 12:26:43 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-11 12:26:52 +0300 |
commit | 98db40e3ee7f63266a0a53de9d0a7bf38fd22531 (patch) | |
tree | 5723cd2d784f53dd1206e844266fc5c888b50b75 /src/gopher.c | |
parent | 6e08f4ec2f88f74005e2f4f276a5aa3c6917b3f4 (diff) |
Gopher: Added the 'p' type
IssueID #356
Diffstat (limited to 'src/gopher.c')
-rw-r--r-- | src/gopher.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gopher.c b/src/gopher.c index 914f57ba..ac5fe560 100644 --- a/src/gopher.c +++ b/src/gopher.c | |||
@@ -136,6 +136,7 @@ static iBool convertSource_Gopher_(iGopher *d) { | |||
136 | case '5': | 136 | case '5': |
137 | case '9': | 137 | case '9': |
138 | case 'g': | 138 | case 'g': |
139 | case 'p': | ||
139 | case 'I': | 140 | case 'I': |
140 | case 's': { | 141 | case 's': { |
141 | iBeginCollect(); | 142 | iBeginCollect(); |
@@ -243,6 +244,9 @@ void open_Gopher(iGopher *d, const iString *url) { | |||
243 | case 'g': | 244 | case 'g': |
244 | setCStr_String(d->meta, "image/gif"); | 245 | setCStr_String(d->meta, "image/gif"); |
245 | break; | 246 | break; |
247 | case 'p': | ||
248 | setCStr_String(d->meta, "image/png"); | ||
249 | break; | ||
246 | case 'h': | 250 | case 'h': |
247 | setCStr_String(d->meta, "text/html"); | 251 | setCStr_String(d->meta, "text/html"); |
248 | break; | 252 | break; |