Rev 1630 | Rev 1649 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1630 | Rev 1631 | ||
---|---|---|---|
Line 147... | Line 147... | ||
147 | retval = 0; |
147 | retval = 0; |
148 | break; |
148 | break; |
149 | case FB_SET_STYLE: |
149 | case FB_SET_STYLE: |
150 | fgcolor = IPC_GET_ARG1(call); |
150 | fgcolor = IPC_GET_ARG1(call); |
151 | bgcolor = IPC_GET_ARG2(call); |
151 | bgcolor = IPC_GET_ARG2(call); |
152 | if (bgcolor == 0xf0f0f0) |
- | |
153 | set_style(0); |
- | |
154 | else if (fgcolor > bgcolor) |
152 | if (fgcolor < bgcolor) |
155 | set_style(0); |
153 | set_style(0); |
156 | else |
154 | else |
157 | set_style(7); |
155 | set_style(7); |
158 | retval = 0; |
156 | retval = 0; |
159 | break; |
157 | break; |