mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Suppress more -Wparentheses warnings
[Fix GH-1958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2def52500f
commit
0d95805c2e
4 changed files with 7 additions and 4 deletions
|
@ -6686,7 +6686,8 @@ constat_apply(HANDLE handle, struct constat *s, WCHAR w)
|
|||
COORD pos;
|
||||
|
||||
if (!GetConsoleScreenBufferInfo(handle, &csbi)) return;
|
||||
if (arg0 = (count > 0 && seq[0] > 0)) arg1 = seq[0];
|
||||
arg0 = (count > 0 && seq[0] > 0);
|
||||
if (arg0) arg1 = seq[0];
|
||||
switch (w) {
|
||||
case L'm':
|
||||
SetConsoleTextAttribute(handle, constat_attr(count, seq, csbi.wAttributes, s->vt100.attr, &s->vt100.reverse));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue