このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
Immanuel
/
sxiv
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Thumbnails only get scaled down, fixed issue
#27
master
Bert Münnich
14年前
親
71a7940d74
コミット
5034792948
2個のファイルの変更
、
2行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+1
-1
Makefile
+1
-0
thumbs.c
+ 1
- 1
Makefile
ファイルの表示
@@ -1,4 +1,4 @@
VERSION = git-2011110
1
VERSION = git-2011110
5
CC = gcc
CFLAGS = -ansi -Wall -pedantic -O2
+ 1
- 0
thumbs.c
ファイルの表示
@@ -267,6 +267,7 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
zw = (float) THUMB_SIZE / (float) w;
zh = (float) THUMB_SIZE / (float) h;
z = MIN(zw, zh);
z = MIN(z, 1.0);
t->w = z * w;
t->h = z * h;
書き込み
プレビュー
読み込み中…
キャンセル
保存