U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » StreamRasterEncoder puzzle
Re: StreamRasterEncoder puzzle [message #15313 is a reply to message #15311] Wed, 16 April 2008 10:12 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
mr_ped wrote on Wed, 16 April 2008 03:33


I got a bit surprised from the case sensitivity too, I'm checking the String.h and I see, that except defining stricmp and strnicmp even on POSIX/WINCE platform, there's no other support in U++ for those things.
It feels somewhat awkward to see thing like "if(path.Find(".jpg") || path.Find(".JPG"))" (and I don't mean the hidden bug this time, but the duplicity of "jpg" text).


Well, I would write it as

if(GetFileExt(ToUpper(path)) == ".JPG")

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CtrlPaint Bug: Frame draws outside of Ctrl
Next Topic: theIDE: Passing cmd line argument during DEBUG?
Goto Forum:
  


Current Time: Sat Sep 19 10:40:20 GMT+2 2026

Total time taken to generate the page: 0.00765 seconds