ソースを参照

Handle hexadecimal and octal parameters

tags/v1.8.90
Pierre Ossman 6年前
コミット
f36078ad3f
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      common/rfb/Configuration.cxx

+ 1
- 1
common/rfb/Configuration.cxx ファイルの表示

@@ -338,7 +338,7 @@ bool
IntParameter::setParam(const char* v) {
if (immutable) return true;
vlog.debug("set %s(Int) to %s", getName(), v);
int i = atoi(v);
int i = strtol(v, NULL, 0);
if (i < minValue || i > maxValue)
return false;
value = i;

読み込み中…
キャンセル
保存