Mercurial > hg > octave-nkf
comparison src/ov-class.cc @ 15017:dd4ad69e4ab9
maint: Fix a few Octave coding convention violations.
* gzip.m, findfigs.m, hdl2struct.m: Use parentheses around if block test.
* graphics.cc, ov-class.cc: Use space after if and before first parenthesis
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Jul 2012 20:58:21 -0700 |
parents | f7afecdd87ef |
children |
comparison
equal
deleted
inserted
replaced
15016:005cb78e1dd1 | 15017:dd4ad69e4ab9 |
---|---|
1275 std::string key = map.key (p); | 1275 std::string key = map.key (p); |
1276 Cell val = map.contents (p); | 1276 Cell val = map.contents (p); |
1277 if ( val(0).is_object () ) | 1277 if ( val(0).is_object () ) |
1278 { | 1278 { |
1279 dbgstr = "blork"; | 1279 dbgstr = "blork"; |
1280 if( key == val(0).class_name () ) | 1280 if ( key == val(0).class_name () ) |
1281 { | 1281 { |
1282 might_have_inheritance = true; | 1282 might_have_inheritance = true; |
1283 dbgstr = "cork"; | 1283 dbgstr = "cork"; |
1284 break; | 1284 break; |
1285 } | 1285 } |