From 9493981cfa959a3edc6ebb5e7cdfb2161835bff7 Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Thu, 9 Feb 2023 00:33:48 +0100 Subject: [PATCH] =?UTF-8?q?refactoring:=20Variable=20f=C3=BCr=20bessere=20?= =?UTF-8?q?Lesbarkeit=20umbenannt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/artifacts/release/Paper-Bin.out | Bin 21456 -> 21464 bytes build/release/Paper-Bin.out | Bin 21456 -> 21464 bytes build/release/out/c/Paper-Bin.o | Bin 13752 -> 13760 bytes src/Paper-Bin.c | 8 ++++---- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/artifacts/release/Paper-Bin.out b/build/artifacts/release/Paper-Bin.out index de2de35c78996cfba7532afe801c7d32b03b03c8..04af6c2d5b4e0b49a529ba6555675247fa8ba797 100644 GIT binary patch delta 819 zcmZvaPiPZS5XRrzB#5XqX-Z#r5#2N^C=^VrQt(t7yV_uFLeO3tleJk03CX6HqGCb8 zfLg;G6uc;+RY74{=*5dgFFmORrPthgDinH95p>?49t_T5-t7Lq`F7^9UsmYm3VnE- z4*4f$LIeJ(E6YFnir>x9&v#@rY&AN^y1~8B_6Qw;#nhSMS+`pCT4s5{bljR#GpmkU zsB?SZP=LxEd^{+fn^DAtXi&aw~@g#uH7R8gwQY9Ta&KiW5v9 zLShn~5T%qlLS}^Ks>mL!p>mN*&+&rPRFvl(uF)SWT2Ve>W%L{p8Ae|VpHGm-`kSaN zSjsScOLdidy0*bbx{I`*L`i_-@t6~tkU!8xpRjNk#3`cxnLo*CWQ=bIz80r8G|n-- zfY02q?})ToSB?%mLs~}~Lrzli_1+FQ;VaU+;!6g3by+p3<1o-kM(;y|$|zYRV*KM?*;p^N_SQQ5B@ zYiI@NNJybz*rda4cUQ}c)Boto1uwj7%yIGMeEz$?|8POk3OT3+xb a`;rEiE)MUb8_+0>?f;dPwg&7>AN>ngk)WXf delta 828 zcmZ8dO=uHQ5PokHwa^GjoA~;ImMsmowh@|xcoJhbO-+fKvd|X%!O%R(LYio@MWhEU zil_({2QP|;BGQ8huB(SC2t9aE1b^_*lh6w4MM2PmAmaP;;Lc%Y-uq_0nfX?i@S7#P z(2t|ujzgjN`b6UMi&}^`c3qR%^LtW!7X)oz=}E zbEc~SNYogoGV-b8u@;rla zp1+oP8s;rR*L7DV(Dem8i@*aboajJNS(xeoEbCZ}PMqZc_UW;t;+&P|1?c>Vqu|Kfiz?(-|oi)oYJK?Ze1qKUO+U@B^la(4y g-EG06LKOza=6rALF7~I2<|h0K&e*&05Af{1zjiB~VE_OC diff --git a/build/release/Paper-Bin.out b/build/release/Paper-Bin.out index de2de35c78996cfba7532afe801c7d32b03b03c8..04af6c2d5b4e0b49a529ba6555675247fa8ba797 100755 GIT binary patch delta 819 zcmZvaPiPZS5XRrzB#5XqX-Z#r5#2N^C=^VrQt(t7yV_uFLeO3tleJk03CX6HqGCb8 zfLg;G6uc;+RY74{=*5dgFFmORrPthgDinH95p>?49t_T5-t7Lq`F7^9UsmYm3VnE- z4*4f$LIeJ(E6YFnir>x9&v#@rY&AN^y1~8B_6Qw;#nhSMS+`pCT4s5{bljR#GpmkU zsB?SZP=LxEd^{+fn^DAtXi&aw~@g#uH7R8gwQY9Ta&KiW5v9 zLShn~5T%qlLS}^Ks>mL!p>mN*&+&rPRFvl(uF)SWT2Ve>W%L{p8Ae|VpHGm-`kSaN zSjsScOLdidy0*bbx{I`*L`i_-@t6~tkU!8xpRjNk#3`cxnLo*CWQ=bIz80r8G|n-- zfY02q?})ToSB?%mLs~}~Lrzli_1+FQ;VaU+;!6g3by+p3<1o-kM(;y|$|zYRV*KM?*;p^N_SQQ5B@ zYiI@NNJybz*rda4cUQ}c)Boto1uwj7%yIGMeEz$?|8POk3OT3+xb a`;rEiE)MUb8_+0>?f;dPwg&7>AN>ngk)WXf delta 828 zcmZ8dO=uHQ5PokHwa^GjoA~;ImMsmowh@|xcoJhbO-+fKvd|X%!O%R(LYio@MWhEU zil_({2QP|;BGQ8huB(SC2t9aE1b^_*lh6w4MM2PmAmaP;;Lc%Y-uq_0nfX?i@S7#P z(2t|ujzgjN`b6UMi&}^`c3qR%^LtW!7X)oz=}E zbEc~SNYogoGV-b8u@;rla zp1+oP8s;rR*L7DV(Dem8i@*aboajJNS(xeoEbCZ}PMqZc_UW;t;+&P|1?c>Vqu|Kfiz?(-|oi)oYJK?Ze1qKUO+U@B^la(4y g-EG06LKOza=6rALF7~I2<|h0K&e*&05Af{1zjiB~VE_OC diff --git a/build/release/out/c/Paper-Bin.o b/build/release/out/c/Paper-Bin.o index 1fd438c014b5ade118bc16b24c3f83c163d9ae49..b245f29f728cce9f7b4b14777c37682c259b27a3 100644 GIT binary patch delta 524 zcmdmyeIR>+1`~tPMy(fuj5?ErgiMvfGjno^OB7N{6;dYn}OyB&J z(qe_;$yq{yi~*DP2xT%I-nLm?cq5af9s>h|AOj170+0rQ*-Q}HWb#K*aY;KM2PAs{ zD#`+pWbm4-C?-BRK#W6>11bWOiJBZJCN7x()prCK-nu$+4bBI(H2$+{TQtG1ypu9OcWx?U_bdHQ14Hu>@TQ^YoV_CH8W|CMTsS;Zj%p7E(O|VG`Ueqd~<`8fCOW~S#I9| delta 519 zcmX?*y(4>q2GbA2jan}RCkqRiDl>#<=HwKYD5R7sq-N%&<|+83W+rEpq!t00zWFJo z#R|cbvxEW}3nuRo%4Et<-K;LWkx6nF0|SE~0}F!!kOqO-Ob}Xc@<&l|NedtcBzpiV z$^wyOaG9(qCNAj*mStw(fQrIoLna4`iBAp?V-sd!ID)1#V{#)C8v98UTRTd zNov~Ulafm}7f5MHFlJ1iY4o45Ve?F5dq$vdZ<@3-CQME=HRr4_ggCKsvZ9GR0B-zi A+yDRo diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 9f5ec79..d0367d2 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -331,11 +331,11 @@ void sortScoreboard() //Die Textdatei wird Zeile für Zeile eingelesen und in die Strukturliste eingefügt for (int j = 0; fgets(line, sizeof line, file) != NULL && j <= 10; j++) { - char* playertmp = strtok(line, " "); - strcpy(playerlist[j].Name, playertmp); + char* playerTmp = strtok(line, " "); + strcpy(playerlist[j].Name, playerTmp); - playertmp = strtok(NULL, " "); - int playerPoints = atoi(playertmp); + playerTmp = strtok(NULL, " "); + int playerPoints = atoi(playerTmp); playerlist[j].Points = playerPoints;