mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
fix MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24864 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
81ca2da2d4
commit
31517754ad
@ -746,7 +746,7 @@ void parse_preamble(Parser & p, ostream & os,
|
||||
for (; *margin; ++margin) {
|
||||
k += 1;
|
||||
// search for the "=" in e.g. "lmargin=2cm" to get the value
|
||||
for(int i = 0; i < opts.size(); i++) {
|
||||
for(size_t i = 0; i != opts.size(); i++) {
|
||||
if (opts.at(i).find(*margin) != string::npos) {
|
||||
string::size_type pos = opts.at(i).find("=");
|
||||
string value = opts.at(i).substr(pos + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user