`this` is a reserved keyword in c++
break;
}
- struct Context *this = Context; /* remember current folder and sort methods */
+ struct Context *ctx_cur = Context; /* remember current folder and sort methods */
int old_sort = C_Sort; /* C_Sort, SortAux could be changed in mutt_index_menu() */
int old_sort_aux = C_SortAux;
if (!Context)
{
/* go back to the folder we started from */
- Context = this;
+ Context = ctx_cur;
/* Restore old $sort and $sort_aux */
C_Sort = old_sort;
C_SortAux = old_sort_aux;
}
/* go back to the folder we started from */
- Context = this;
+ Context = ctx_cur;
/* Restore old $sort and $sort_aux */
C_Sort = old_sort;
C_SortAux = old_sort_aux;