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++ Core » TextSettings update
Re: TextSettings update [message #33627 is a reply to message #19976] Thu, 01 September 2011 14:08 Go to previous messageGo to previous message
navinv is currently offline  navinv
Messages: 8
Registered: September 2010
Promising Member
Hi Mirek,

I am using TextSettings, currently you can't have any whitespace before or after the equal sign. I have to write like this...
[MySQL]
host=localhost
user=root
password=mysql
db=insure

But instead I would prefer to write like
[MySQL]
host     = localhost
user     = root
password = mysql
db       = insure

I propose a minor change to handle the whitespaces before and after the equal sign.

Util.cpp, Line 444

settings[themei].GetAdd(key) = value;

settings[themei].GetAdd(TrimBoth(key)) = TrimBoth(value);
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with new and delete
Next Topic: Out of memory panic
Goto Forum:
  


Current Time: Fri May 17 23:12:55 CEST 2024

Total time taken to generate the page: 0.02045 seconds