Mercurial > vim
comparison src/ops.c @ 55:225cc00b2eda
updated for version 7.0029
author | vimboss |
---|---|
date | Mon, 03 Jan 2005 21:02:03 +0000 |
parents | 90188be4861f |
children | 8ecb0db93e9a |
comparison
equal
deleted
inserted
replaced
54:6bfddb1d126a | 55:225cc00b2eda |
---|---|
5147 #ifdef FEAT_DND | 5147 #ifdef FEAT_DND |
5148 /* Neither do we want the '~' register */ | 5148 /* Neither do we want the '~' register */ |
5149 if (i == TILDE_REGISTER) | 5149 if (i == TILDE_REGISTER) |
5150 continue; | 5150 continue; |
5151 #endif | 5151 #endif |
5152 /* Skip empty registers. */ | |
5152 num_lines = y_regs[i].y_size; | 5153 num_lines = y_regs[i].y_size; |
5154 if (num_lines == 0 | |
5155 || (num_lines == 1 && y_regs[i].y_type == MCHAR | |
5156 && STRLEN(y_regs[i].y_array[0]) == 0)) | |
5157 continue; | |
5158 | |
5153 if (max_kbyte > 0) | 5159 if (max_kbyte > 0) |
5154 { | 5160 { |
5155 /* Skip register if there is more text than the maximum size. */ | 5161 /* Skip register if there is more text than the maximum size. */ |
5156 len = 0; | 5162 len = 0; |
5157 for (j = 0; j < num_lines; j++) | 5163 for (j = 0; j < num_lines; j++) |