author | llornkcor <llornkcor> | 2002-11-01 16:47:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-01 16:47:02 (UTC) |
commit | 9e5589036e37a54a70243617f38741b6c709aff1 (patch) (unidiff) | |
tree | 42fc8f6dd6c7bafb7ed2ed5ef97e67c763cf0845 | |
parent | 535713ea42d091361f0ac3b14b3f44f3899a7102 (diff) | |
download | opie-9e5589036e37a54a70243617f38741b6c709aff1.zip opie-9e5589036e37a54a70243617f38741b6c709aff1.tar.gz opie-9e5589036e37a54a70243617f38741b6c709aff1.tar.bz2 |
fix
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index 6d53a91..aabb4d2 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | |||
@@ -186,49 +186,49 @@ void StockTickerPluginWidget::getStocks( const char *blah) { | |||
186 | if(doopenPriceCheck) | 186 | if(doopenPriceCheck) |
187 | output +=tempString; | 187 | output +=tempString; |
188 | 188 | ||
189 | // printf("| Min | %-7.2f |\n", stocks_tmp->MinPrice); | 189 | // printf("| Min | %-7.2f |\n", stocks_tmp->MinPrice); |
190 | tempString.sprintf("| Min %-7.2f ", stocks_tmp->MinPrice); | 190 | tempString.sprintf("| Min %-7.2f ", stocks_tmp->MinPrice); |
191 | if(dominPriceCheck) | 191 | if(dominPriceCheck) |
192 | output +=tempString; | 192 | output +=tempString; |
193 | 193 | ||
194 | // printf("| Max | %-7.2f |\n",stocks_tmp->MaxPrice); | 194 | // printf("| Max | %-7.2f |\n",stocks_tmp->MaxPrice); |
195 | tempString.sprintf("| Max %-7.2f ",stocks_tmp->MaxPrice); | 195 | tempString.sprintf("| Max %-7.2f ",stocks_tmp->MaxPrice); |
196 | if(domaxPriceCheck) | 196 | if(domaxPriceCheck) |
197 | output +=tempString; | 197 | output +=tempString; |
198 | 198 | ||
199 | // printf("| Var | %-6.2f (%5.2f %%) |\n", stocks_tmp->Variation, stocks_tmp->Pourcentage); | 199 | // printf("| Var | %-6.2f (%5.2f %%) |\n", stocks_tmp->Variation, stocks_tmp->Pourcentage); |
200 | tempString.sprintf("| Var %-6.2f (%5.2f %%) ", stocks_tmp->Variation, stocks_tmp->Pourcentage); | 200 | tempString.sprintf("| Var %-6.2f (%5.2f %%) ", stocks_tmp->Variation, stocks_tmp->Pourcentage); |
201 | if(dovariationCheck) | 201 | if(dovariationCheck) |
202 | output +=tempString; | 202 | output +=tempString; |
203 | 203 | ||
204 | // printf("| Volume | %-9d |\n", stocks_tmp->Volume); | 204 | // printf("| Volume | %-9d |\n", stocks_tmp->Volume); |
205 | tempString.sprintf("| Volume %-9d ", stocks_tmp->Volume); | 205 | tempString.sprintf("| Volume %-9d ", stocks_tmp->Volume); |
206 | if(dovolumeCheck) | 206 | if(dovolumeCheck) |
207 | output +=tempString; | 207 | output +=tempString; |
208 | 208 | ||
209 | // printf("----------------------------------------\n\n"); | 209 | // printf("----------------------------------------\n\n"); |
210 | tempString.sprintf("||==++=="); | 210 | tempString.sprintf("||==++==|"); |
211 | output +=tempString; | 211 | output +=tempString; |
212 | 212 | ||
213 | /* Simple function which help to browse in the stocks list */ | 213 | /* Simple function which help to browse in the stocks list */ |
214 | stocks_tmp = next_stock(stocks_tmp); | 214 | stocks_tmp = next_stock(stocks_tmp); |
215 | } | 215 | } |
216 | 216 | ||
217 | /* frees stocks */ | 217 | /* frees stocks */ |
218 | free_stocks(stocks_quotes); | 218 | free_stocks(stocks_quotes); |
219 | 219 | ||
220 | } | 220 | } |
221 | 221 | ||
222 | void StockTickerPluginWidget::DefProxy(void) { | 222 | void StockTickerPluginWidget::DefProxy(void) { |
223 | char *proxy; | 223 | char *proxy; |
224 | libstocks_return_code error; | 224 | libstocks_return_code error; |
225 | 225 | ||
226 | /* Proxy support */ | 226 | /* Proxy support */ |
227 | /* Checks for "http_proxy" environment variable */ | 227 | /* Checks for "http_proxy" environment variable */ |
228 | proxy = getenv("http_proxy"); | 228 | proxy = getenv("http_proxy"); |
229 | if(proxy) { | 229 | if(proxy) { |
230 | /* printf("proxy set\n"); */ | 230 | /* printf("proxy set\n"); */ |
231 | error = set_proxy(proxy); | 231 | error = set_proxy(proxy); |
232 | if (error) { | 232 | if (error) { |
233 | // printf("Proxy error (%d)\n", error); | 233 | // printf("Proxy error (%d)\n", error); |
234 | QString tempString; | 234 | QString tempString; |