luciddream-tsin

Results 7 comments of luciddream-tsin

Hi @darksylinc, this is a bug because of there have two space after 'x' in "1366 x 768"; The following code work correctly. ``` cpp Ogre::ConfigOptionMap::iterator opt = cfgOpts.find( "Video...

and "1280 x 1024" was ok, because of the 1024 has 4 character.

The source at RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXGLSupport.cpp, also need to fix: line 380-390, ```cpp if((opt = mOptions.find("Video Mode")) != end) { String val = opt->second.currentValue; String::size_type pos = val.find('x'); if (pos != String::npos)...

The essential of this problem is, all of the paramters have the same length, so the num of space is variant in different case: ![截图 2022-08-23 19-49-21](https://user-images.githubusercontent.com/92364028/186150820-3ed6a050-070a-4e7a-baa4-e17d7e5c9fc4.png)

[okay, I fixed it, now it worked will.](https://github.com/OGRECave/ogre-next/pull/328)

some LC related information, `LANGUAGE=zh_CN:zh:en_US:en` `LC_ADDRESS=zh_CN.UTF-8` `LC_NAME=zh_CN.UTF-8` `LC_MONETARY=zh_CN.UTF-8` `LC_PAPER=zh_CN.UTF-8` `LANG=zh_CN.UTF-8` `LC_NUMERIC=zh_CN.UTF-8` and i am learning to read the code: ``` cpp template from_chars_result from_chars_all( const char *first, const char *last,...