fix error strings

git-svn-id: svn://kolibrios.org@6691 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2016-11-08 10:48:55 +00:00
parent 0b68ccc4d0
commit 1f8ad06585

View File

@ -43,7 +43,7 @@
}
else
{
cbuf = malloc(CopyFile_atr.sizelo);
cbuf = malloc(CopyFile_atr.sizelo);
if (error = ReadFile(0, CopyFile_atr.sizelo, cbuf, copy_from3))
{
debugln("Error: CopyFile->ReadFile");
@ -93,7 +93,7 @@
else
{
Operation_Draw_Progress(filename+strchr(filename, '/'));
if (error=CopyFile(#copy_from2, #copy_in2))
if (error=CopyFile(#copy_from2, #copy_in2))
{
if (fabs(error)==8) { debugln("Stop copying."); break;} //TODO: may be need grobal var like stop_all
error=CopyFile(#copy_from2, #copy_in2); // #2 :)
@ -114,12 +114,12 @@
"Žè¨¡ª  #5: ä ©« ¨«¨ ¯ ¯ª  ­¥ ­ ©¤¥­ë",
"Žè¨¡ª  #6: ª®­¥æ ä ©« ",
"Žè¨¡ª  #7: 㪠§ â¥«ì ­ å®¤¨âáï ¢á¥ ¯ ¬ï⨠¯à¨«®¦¥­¨ï",
"Žè¨¡ª  #8: ­¥¤®áâ â®ç­® ¬¥áâ  ­  ¤¨áª¥",
"Žè¨¡ª  #9: â ¡«¨æ  FAT à §àã襭 ",
"Žè¨¡ª  #8: ­¥¤®áâ â®ç­® ¬¥áâ  ­  à §¤¥«¥",
"Žè¨¡ª  #9: ®è¨¡ª  ä ©«®¢®© á¨á⥬ë",
"Žè¨¡ª  #10: ¤®áâ㯠§ ¯à¥é¥­",
"Žè¨¡ª  #11: ®è¨¡ª  ãáâனá⢠",
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
"Žè¨¡ª  #30: ­¥¤®áâ â®ç­® ¯ ¬ïâ¨",
"Žè¨¡ª  #31: ä ©« ­¥ ï¥âáï ¨á¯®«­ï¥¬ë¬",
"Žè¨¡ª  #32: ᫨誮¬ ¬­®£® ¯à®æ¥áᮢ", 0};
@ -133,12 +133,12 @@
"Error #5 - File or folder not found",
"Error #6 - End of file",
"Error #7 - Pointer lies outside of application memory",
"Error #8 - Too less disk space",
"Error #9 - FAT table is destroyed",
"Error #8 - Not enough space on partition",
"Error #9 - File system error",
"Error #10 - Access denied",
"Error #11 - Device error",
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
"Error #30 - Not enough memory",
"Error #31 - File is not executable",
"Error #32 - Too many processes", 0};
@ -146,7 +146,7 @@
:dword get_error(int N)
{
char error[256];
char error[256];
N = fabs(N);
if (N<=33) strcpy(#error, ERROR_TEXT[N]);
else sprintf(#error,"%d%s",N," - Unknown error number O_o");