-
- if(hints->inc_set){
- /* base size should be set to 0 if none given by user program */
- bs=(hints->base_set ? hints->base_width : 0);
- if(w>bs)
- w=((w-bs)/hints->width_inc)*hints->width_inc+bs;
- bs=(hints->base_set ? hints->base_height : 0);
- if(h>bs)
- h=((h-bs)/hints->height_inc)*hints->height_inc+bs;
- }