diff options
Diffstat (limited to 'src/Resources.c')
-rw-r--r-- | src/Resources.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Resources.c b/src/Resources.c index 304d3d5..dc0f563 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -857,7 +857,7 @@ static XtCacheRef *GetResources( register XtTypedArg* arg = typed_args + typed[j] - 1; register int i; - for (i = num_typed_args - typed[j]; i; i--, arg++) { + for (i = num_typed_args - typed[j]; i > 0; i--, arg++) { *arg = *(arg+1); } num_typed_args--; |