spelling cleanup
This commit is contained in:
@@ -706,7 +706,7 @@ int uiButActiveOnly(const bContext *C, uiBlock *block, uiBut *but)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* use to check if we need to disable undo, but dont make any changes
|
||||
/* use to check if we need to disable undo, but don't make any changes
|
||||
* returns FALSE if undo needs to be disabled. */
|
||||
static int ui_but_is_rna_undo(uiBut *but)
|
||||
{
|
||||
@@ -1880,7 +1880,7 @@ void ui_set_but_soft_range(uiBut *but, double value)
|
||||
{
|
||||
/* ideally we would not limit this but practically, its more then
|
||||
* enough worst case is very long vectors wont use a smart soft-range
|
||||
* which isnt so bad. */
|
||||
* which isn't so bad. */
|
||||
|
||||
if(but->rnaprop) {
|
||||
const PropertyType type= RNA_property_type(but->rnaprop);
|
||||
@@ -2957,7 +2957,7 @@ void autocomplete_end(AutoComplete *autocpl, char *autoname)
|
||||
if(autocpl->truncate[0])
|
||||
BLI_strncpy(autoname, autocpl->truncate, autocpl->maxlen);
|
||||
else {
|
||||
if (autoname != autocpl->startname) /* dont copy a string over its self */
|
||||
if (autoname != autocpl->startname) /* don't copy a string over its self */
|
||||
BLI_strncpy(autoname, autocpl->startname, autocpl->maxlen);
|
||||
}
|
||||
MEM_freeN(autocpl->truncate);
|
||||
|
||||
Reference in New Issue
Block a user