… | … | ||
---|---|---|---|
122 | char a; | 122 | char a; |
123 | int x, y; | 123 | int x, y; |
124 | Pixmap d; | 124 | Pixmap d; |
125 | GC pointcolour; | 125 | GC pointcolour; |
126 | 126 | ||
127 | d = XCreatePixmap (display->display, scrollBar.win, width, height, XDEPTH); | 127 | d = XCreatePixmap (display->display, scrollBar.win, width, height, display->depth); |
128 | 128 | ||
129 | for (y = 0; y < height; y++) | 129 | for (y = 0; y < height; y++) |
130 | { | 130 | { |
131 | for (x = 0; x < width; x++) | 131 | for (x = 0; x < width; x++) |
132 | { | 132 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |