Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14267
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: Thu Aug 28 01:14:52 CEST 2025

Total time taken to generate the page: 0.08523 seconds