x-y confusions

This commit is contained in:
David Rose 2006-08-20 21:47:07 +00:00
parent 413b358ff1
commit d3fb3d7a46
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ add_photo(int photo_index) {
int xi = count - (yi * thumb_count_x);
int x = thumb_x_space + xi * (thumb_width + thumb_x_space);
int y = thumb_y_space + yi * (thumb_width + thumb_caption_height + thumb_x_space);
int y = thumb_y_space + yi * (thumb_height + thumb_caption_height + thumb_y_space);
PhotoInfo pinfo;
pinfo._photo_index = photo_index;

View File

@ -34,7 +34,7 @@
// row). It will never be larger than this.
extern int max_index_size_array[2];
#define max_index_width (max_index_size_array[0])
#define max_index_height (max_index_size_array[0])
#define max_index_height (max_index_size_array[1])
// The size of the individual thumbnail images, including the frames
// (if present). Thumbnail images are scaled to fit within this box.